reiserfs: fix hang on umount with quotas when journal is aborted
authorJan Kara <jack@suse.cz>
Mon, 28 Apr 2008 09:16:23 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:46 +0000 (08:58 -0700)
commita2fe594fa3732298947377409b5d8111b14f56ec
treeefd71f35949123fdaaf5d986e3237a059958fbfc
parentfbe5498b3d5af44a8671800e85b2858c2ea236fa
reiserfs: fix hang on umount with quotas when journal is aborted

Call dquot_drop() from reiserfs_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.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/super.c