diff options
author | Jan Kara <jack@suse.cz> | 2008-07-25 12:46:49 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 21:53:34 +0400 |
commit | b48d380541f634663b71766005838edbb7261685 (patch) | |
tree | bb382e53ada390bf42b219b80c662992abd3b335 /lib/reed_solomon/Makefile | |
parent | 41003cde95e7e976d3876dbdcdc83dd0a9059279 (diff) | |
download | linux-b48d380541f634663b71766005838edbb7261685.tar.xz |
quota: fix possible infinite loop in quota code
When quota structure is going to be dropped and it is dirty, quota code tries
to write it. If the write fails for some reason (e. g. transaction cannot
be started because the journal is aborted), we try writing again and again and
again... Fix the problem by clearing the dirty bit even if the write failed.
(akpm: for 2.6.27, 2.6.26.x and 2.6.25.x)
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: dingdinghua <dingdinghua85@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/reed_solomon/Makefile')
0 files changed, 0 insertions, 0 deletions