aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/namei.c')
-rw-r--r--fs/ext4/namei.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 67fd0b025858..957580daad78 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -2123,6 +2123,8 @@ static int ext4_rmdir(struct inode *dir, struct dentry *dentry)
2123 struct ext4_dir_entry_2 *de; 2123 struct ext4_dir_entry_2 *de;
2124 handle_t *handle; 2124 handle_t *handle;
2125 2125
2126 dentry_unhash(dentry);
2127
2126 /* Initialize quotas before so that eventual writes go in 2128 /* Initialize quotas before so that eventual writes go in
2127 * separate transaction */ 2129 * separate transaction */
2128 dquot_initialize(dir); 2130 dquot_initialize(dir);