diff options
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index ca8986e4b528..9bb2bb9f67ad 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -217,7 +217,7 @@ void ext4_free_inode(handle_t *handle, struct inode *inode) | |||
217 | * Note: we must free any quota before locking the superblock, | 217 | * Note: we must free any quota before locking the superblock, |
218 | * as writing the quota to disk may need the lock as well. | 218 | * as writing the quota to disk may need the lock as well. |
219 | */ | 219 | */ |
220 | vfs_dq_init(inode); | 220 | dquot_initialize(inode); |
221 | ext4_xattr_delete_inode(handle, inode); | 221 | ext4_xattr_delete_inode(handle, inode); |
222 | dquot_free_inode(inode); | 222 | dquot_free_inode(inode); |
223 | dquot_drop(inode); | 223 | dquot_drop(inode); |
@@ -1034,7 +1034,7 @@ got: | |||
1034 | ei->i_extra_isize = EXT4_SB(sb)->s_want_extra_isize; | 1034 | ei->i_extra_isize = EXT4_SB(sb)->s_want_extra_isize; |
1035 | 1035 | ||
1036 | ret = inode; | 1036 | ret = inode; |
1037 | vfs_dq_init(inode); | 1037 | dquot_initialize(inode); |
1038 | err = dquot_alloc_inode(inode); | 1038 | err = dquot_alloc_inode(inode); |
1039 | if (err) | 1039 | if (err) |
1040 | goto fail_drop; | 1040 | goto fail_drop; |