diff options
author | Jan Kara <jack@suse.cz> | 2009-01-26 10:58:01 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-03-25 21:18:36 -0400 |
commit | 81a052273998f94b098945c4c313e05246956eb2 (patch) | |
tree | c199d71543863ecd8bb45a9ef28b09a2340485ac /fs/ext3/inode.c | |
parent | 6f90bee5062a8af24d8aa5c47182d15aa28a0f17 (diff) |
ext3: Use lowercase names of quota functions
Use lowercase names of quota functions instead of old uppercase ones.
Signed-off-by: Jan Kara <jack@suse.cz>
CC: linux-ext4@vger.kernel.org
Diffstat (limited to 'fs/ext3/inode.c')
-rw-r--r-- | fs/ext3/inode.c | 6 |
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 |