diff options
-rw-r--r-- | fs/reiserfs/super.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index f8f9a473e670..a4c9770a6012 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c | |||
@@ -1890,8 +1890,14 @@ static int reiserfs_dquot_drop(struct inode *inode) | |||
1890 | ret = | 1890 | ret = |
1891 | journal_begin(&th, inode->i_sb, | 1891 | journal_begin(&th, inode->i_sb, |
1892 | 2 * REISERFS_QUOTA_DEL_BLOCKS(inode->i_sb)); | 1892 | 2 * REISERFS_QUOTA_DEL_BLOCKS(inode->i_sb)); |
1893 | if (ret) | 1893 | if (ret) { |
1894 | /* | ||
1895 | * We call dquot_drop() anyway to at least release references | ||
1896 | * to quota structures so that umount does not hang. | ||
1897 | */ | ||
1898 | dquot_drop(inode); | ||
1894 | goto out; | 1899 | goto out; |
1900 | } | ||
1895 | ret = dquot_drop(inode); | 1901 | ret = dquot_drop(inode); |
1896 | err = | 1902 | err = |
1897 | journal_end(&th, inode->i_sb, | 1903 | journal_end(&th, inode->i_sb, |