aboutsummaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/inode.c')
-rw-r--r--fs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 826fb0b9d1c3..bb81bd515f85 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -284,7 +284,7 @@ void clear_inode(struct inode *inode)
284 BUG_ON(!(inode->i_state & I_FREEING)); 284 BUG_ON(!(inode->i_state & I_FREEING));
285 BUG_ON(inode->i_state & I_CLEAR); 285 BUG_ON(inode->i_state & I_CLEAR);
286 inode_sync_wait(inode); 286 inode_sync_wait(inode);
287 DQUOT_DROP(inode); 287 vfs_dq_drop(inode);
288 if (inode->i_sb->s_op->clear_inode) 288 if (inode->i_sb->s_op->clear_inode)
289 inode->i_sb->s_op->clear_inode(inode); 289 inode->i_sb->s_op->clear_inode(inode);
290 if (S_ISBLK(inode->i_mode) && inode->i_bdev) 290 if (S_ISBLK(inode->i_mode) && inode->i_bdev)
@@ -1158,7 +1158,7 @@ void generic_delete_inode(struct inode *inode)
1158 if (op->delete_inode) { 1158 if (op->delete_inode) {
1159 void (*delete)(struct inode *) = op->delete_inode; 1159 void (*delete)(struct inode *) = op->delete_inode;
1160 if (!is_bad_inode(inode)) 1160 if (!is_bad_inode(inode))
1161 DQUOT_INIT(inode); 1161 vfs_dq_init(inode);
1162 /* Filesystems implementing their own 1162 /* Filesystems implementing their own
1163 * s_op->delete_inode are required to call 1163 * s_op->delete_inode are required to call
1164 * truncate_inode_pages and clear_inode() 1164 * truncate_inode_pages and clear_inode()