diff options
Diffstat (limited to 'fs/ocfs2/namei.c')
-rw-r--r-- | fs/ocfs2/namei.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index e5d738cd9cc0..b017ebbaf3fa 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c | |||
@@ -810,6 +810,9 @@ static int ocfs2_unlink(struct inode *dir, | |||
810 | (unsigned long long)OCFS2_I(dir)->ip_blkno, | 810 | (unsigned long long)OCFS2_I(dir)->ip_blkno, |
811 | (unsigned long long)OCFS2_I(inode)->ip_blkno); | 811 | (unsigned long long)OCFS2_I(inode)->ip_blkno); |
812 | 812 | ||
813 | if (S_ISDIR(inode->i_mode)) | ||
814 | dentry_unhash(dentry); | ||
815 | |||
813 | dquot_initialize(dir); | 816 | dquot_initialize(dir); |
814 | 817 | ||
815 | BUG_ON(dentry->d_parent->d_inode != dir); | 818 | BUG_ON(dentry->d_parent->d_inode != dir); |