]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
quota: fix infinite loop
authorJan Kara <jack@suse.cz>
Tue, 11 Sep 2007 22:23:29 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 12 Sep 2007 00:21:19 +0000 (17:21 -0700)
commit9c3013e9b91ad23ecae88e45405e98208cce455d
tree2f18bb2d539727e2d9228a3d02a2e8810aa2ac3d
parentaf7b83f9324a77ef9a9080044bf0461f444ca651
quota: fix infinite loop

If we fail to start a transaction when releasing dquot, we have to call
dquot_release() anyway to mark dquot structure as inactive.  Otherwise we
end in an infinite loop inside dqput().

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: xb <xavier.bru@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/super.c
fs/ext4/super.c
fs/reiserfs/super.c