diff options
author | Jan Kara <jack@suse.cz> | 2008-07-25 04:46:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 13:53:34 -0400 |
commit | b48d380541f634663b71766005838edbb7261685 (patch) | |
tree | bb382e53ada390bf42b219b80c662992abd3b335 /include/asm-avr32/serial.h | |
parent | 41003cde95e7e976d3876dbdcdc83dd0a9059279 (diff) |
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 'include/asm-avr32/serial.h')
0 files changed, 0 insertions, 0 deletions