]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ext4: Fix hang on umount with quotas when journal is aborted
authorJan Kara <jack@suse.cz>
Wed, 30 Apr 2008 02:02:07 +0000 (22:02 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 30 Apr 2008 02:02:07 +0000 (22:02 -0400)
commit2887df139c40512cdc147d1a84d95d4f3d261bd1
treee42a0ad7c0532f373dc4b09928cd8396bcf4e6dc
parent53b7e9f6807c1274eee19201396b4c2b5f721553
ext4: Fix hang on umount with quotas when journal is aborted

Call dquot_drop() from ext4_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>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
CC: Payphone LIOU <lioupayphone@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c