summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-07-25 18:15:07 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-01 11:50:40 -0700
commit68e70b83ec48682bda0d6772c1a64550796606a0 (patch)
tree4327f481f99901b7d42f603f7f21833a63299f8b /include
parenta37912658a4844fa6a1bbf13873e394e15af47a9 (diff)
quota: fix possible infinite loop in quota code
commit b48d380541f634663b71766005838edbb7261685 upstream 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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions