]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ext3: fix hang on umount with quotas when journal is aborted
authorJan Kara <jack@suse.cz>
Mon, 28 Apr 2008 09:16:13 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:45 +0000 (08:58 -0700)
commit07c9938a4e2c92b796b163dc70e99d3d1870aaee
treeefdde08f88994f0c966781be5574adf8ea83d952
parent0b23076988b44b2c165e060248345de6f2337387
ext3: fix hang on umount with quotas when journal is aborted

Call dquot_drop() from ext3_dquot_drop() even if we fail to start a
transaction.  Otherwise we never get to dropping references to quota
structures from the inode and umount will hang indefinitely.  Thanks to
Payphone LIOU for spotting the problem.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Payphone LIOU <lioupayphone@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/super.c