aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext3/inode.c')
-rw-r--r--fs/ext3/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c
index 5fa453b49a64..c8f9bd308821 100644
--- a/fs/ext3/inode.c
+++ b/fs/ext3/inode.c
@@ -3055,7 +3055,7 @@ int ext3_setattr(struct dentry *dentry, struct iattr *attr)
3055 error = PTR_ERR(handle); 3055 error = PTR_ERR(handle);
3056 goto err_out; 3056 goto err_out;
3057 } 3057 }
3058 error = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0; 3058 error = vfs_dq_transfer(inode, attr) ? -EDQUOT : 0;
3059 if (error) { 3059 if (error) {
3060 ext3_journal_stop(handle); 3060 ext3_journal_stop(handle);
3061 return error; 3061 return error;
@@ -3146,7 +3146,7 @@ static int ext3_writepage_trans_blocks(struct inode *inode)
3146 ret = 2 * (bpp + indirects) + 2; 3146 ret = 2 * (bpp + indirects) + 2;
3147 3147
3148#ifdef CONFIG_QUOTA 3148#ifdef CONFIG_QUOTA
3149 /* We know that structure was already allocated during DQUOT_INIT so 3149 /* We know that structure was already allocated during vfs_dq_init so
3150 * we will be updating only the data blocks + inodes */ 3150 * we will be updating only the data blocks + inodes */
3151 ret += 2*EXT3_QUOTA_TRANS_BLOCKS(inode->i_sb); 3151 ret += 2*EXT3_QUOTA_TRANS_BLOCKS(inode->i_sb);
3152#endif 3152#endif
@@ -3237,7 +3237,7 @@ int ext3_mark_inode_dirty(handle_t *handle, struct inode *inode)
3237 * i_size has been changed by generic_commit_write() and we thus need 3237 * i_size has been changed by generic_commit_write() and we thus need
3238 * to include the updated inode in the current transaction. 3238 * to include the updated inode in the current transaction.
3239 * 3239 *
3240 * Also, DQUOT_ALLOC_SPACE() will always dirty the inode when blocks 3240 * Also, vfs_dq_alloc_space() will always dirty the inode when blocks
3241 * are allocated to the file. 3241 * are allocated to the file.
3242 * 3242 *
3243 * If the inode is marked synchronous, we don't honour that here - doing 3243 * If the inode is marked synchronous, we don't honour that here - doing