]> git.baikalelectronics.ru Git - kernel.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)
commit22036c04a04396865ed1639fed0d2f406aaacfee
treee42a0ad7c0532f373dc4b09928cd8396bcf4e6dc
parent3df65a7fe75bb76b3cc7cf27d7a4de6e2aac7bb8
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