diff options
author | Jan Kara <jack@suse.cz> | 2008-07-25 01:46:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:34 -0700 |
commit | b48d380541f634663b71766005838edbb7261685 (patch) | |
tree | bb382e53ada390bf42b219b80c662992abd3b335 /scripts | |
parent | 41003cde95e7e976d3876dbdcdc83dd0a9059279 (diff) | |
download | op-kernel-dev-b48d380541f634663b71766005838edbb7261685.zip op-kernel-dev-b48d380541f634663b71766005838edbb7261685.tar.gz |
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 'scripts')
0 files changed, 0 insertions, 0 deletions