aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-05-19 07:16:45 -0400
committerJan Kara <jack@suse.cz>2010-05-24 08:10:17 -0400
commit287a80958cf63fc5c68d5bf6e89a3669dd66234a (patch)
tree8e6883881709ffbbe3b1d6cb7a5b4dcef3428380 /fs/ext4
parent123e9caf1e85008ab7eb5f6cd58c44f9a5d73b2b (diff)
quota: rename default quotactl methods to dquot_
Follow the dquot_* style used elsewhere in dquot.c. [Jan Kara: Fixed up missing conversion of ext2] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/super.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index dfe9bf503f85..381e5a931265 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1083,12 +1083,12 @@ static const struct dquot_operations ext4_quota_operations = {
1083 1083
1084static const struct quotactl_ops ext4_qctl_operations = { 1084static const struct quotactl_ops ext4_qctl_operations = {
1085 .quota_on = ext4_quota_on, 1085 .quota_on = ext4_quota_on,
1086 .quota_off = vfs_quota_off, 1086 .quota_off = dquot_quota_off,
1087 .quota_sync = vfs_quota_sync, 1087 .quota_sync = dquot_quota_sync,
1088 .get_info = vfs_get_dqinfo, 1088 .get_info = dquot_get_dqinfo,
1089 .set_info = vfs_set_dqinfo, 1089 .set_info = dquot_set_dqinfo,
1090 .get_dqblk = vfs_get_dqblk, 1090 .get_dqblk = dquot_get_dqblk,
1091 .set_dqblk = vfs_set_dqblk 1091 .set_dqblk = dquot_set_dqblk
1092}; 1092};
1093#endif 1093#endif
1094 1094
@@ -2053,7 +2053,7 @@ static void ext4_orphan_cleanup(struct super_block *sb,
2053 /* Turn quotas off */ 2053 /* Turn quotas off */
2054 for (i = 0; i < MAXQUOTAS; i++) { 2054 for (i = 0; i < MAXQUOTAS; i++) {
2055 if (sb_dqopt(sb)->files[i]) 2055 if (sb_dqopt(sb)->files[i])
2056 vfs_quota_off(sb, i); 2056 dquot_quota_off(sb, i);
2057 } 2057 }
2058#endif 2058#endif
2059 sb->s_flags = s_flags; /* Restore MS_RDONLY status */ 2059 sb->s_flags = s_flags; /* Restore MS_RDONLY status */
@@ -3916,8 +3916,8 @@ static int ext4_write_info(struct super_block *sb, int type)
3916 */ 3916 */
3917static int ext4_quota_on_mount(struct super_block *sb, int type) 3917static int ext4_quota_on_mount(struct super_block *sb, int type)
3918{ 3918{
3919 return vfs_quota_on_mount(sb, EXT4_SB(sb)->s_qf_names[type], 3919 return dquot_quota_on_mount(sb, EXT4_SB(sb)->s_qf_names[type],
3920 EXT4_SB(sb)->s_jquota_fmt, type); 3920 EXT4_SB(sb)->s_jquota_fmt, type);
3921} 3921}
3922 3922
3923/* 3923/*
@@ -3969,7 +3969,7 @@ static int ext4_quota_on(struct super_block *sb, int type, int format_id,
3969 } 3969 }
3970 } 3970 }
3971 3971
3972 err = vfs_quota_on_path(sb, type, format_id, &path); 3972 err = dquot_quota_on_path(sb, type, format_id, &path);
3973 path_put(&path); 3973 path_put(&path);
3974 return err; 3974 return err;
3975} 3975}