diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-05-19 07:16:45 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-05-24 08:10:17 -0400 |
commit | 287a80958cf63fc5c68d5bf6e89a3669dd66234a (patch) | |
tree | 8e6883881709ffbbe3b1d6cb7a5b4dcef3428380 /fs/ext3/super.c | |
parent | 123e9caf1e85008ab7eb5f6cd58c44f9a5d73b2b (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/ext3/super.c')
-rw-r--r-- | fs/ext3/super.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c index e52006737b4b..6c953bb255e7 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c | |||
@@ -769,12 +769,12 @@ static const struct dquot_operations ext3_quota_operations = { | |||
769 | 769 | ||
770 | static const struct quotactl_ops ext3_qctl_operations = { | 770 | static const struct quotactl_ops ext3_qctl_operations = { |
771 | .quota_on = ext3_quota_on, | 771 | .quota_on = ext3_quota_on, |
772 | .quota_off = vfs_quota_off, | 772 | .quota_off = dquot_quota_off, |
773 | .quota_sync = vfs_quota_sync, | 773 | .quota_sync = dquot_quota_sync, |
774 | .get_info = vfs_get_dqinfo, | 774 | .get_info = dquot_get_dqinfo, |
775 | .set_info = vfs_set_dqinfo, | 775 | .set_info = dquot_set_dqinfo, |
776 | .get_dqblk = vfs_get_dqblk, | 776 | .get_dqblk = dquot_get_dqblk, |
777 | .set_dqblk = vfs_set_dqblk | 777 | .set_dqblk = dquot_set_dqblk |
778 | }; | 778 | }; |
779 | #endif | 779 | #endif |
780 | 780 | ||
@@ -1529,7 +1529,7 @@ static void ext3_orphan_cleanup (struct super_block * sb, | |||
1529 | /* Turn quotas off */ | 1529 | /* Turn quotas off */ |
1530 | for (i = 0; i < MAXQUOTAS; i++) { | 1530 | for (i = 0; i < MAXQUOTAS; i++) { |
1531 | if (sb_dqopt(sb)->files[i]) | 1531 | if (sb_dqopt(sb)->files[i]) |
1532 | vfs_quota_off(sb, i); | 1532 | dquot_quota_off(sb, i); |
1533 | } | 1533 | } |
1534 | #endif | 1534 | #endif |
1535 | sb->s_flags = s_flags; /* Restore MS_RDONLY status */ | 1535 | sb->s_flags = s_flags; /* Restore MS_RDONLY status */ |
@@ -2862,8 +2862,8 @@ static int ext3_write_info(struct super_block *sb, int type) | |||
2862 | */ | 2862 | */ |
2863 | static int ext3_quota_on_mount(struct super_block *sb, int type) | 2863 | static int ext3_quota_on_mount(struct super_block *sb, int type) |
2864 | { | 2864 | { |
2865 | return vfs_quota_on_mount(sb, EXT3_SB(sb)->s_qf_names[type], | 2865 | return dquot_quota_on_mount(sb, EXT3_SB(sb)->s_qf_names[type], |
2866 | EXT3_SB(sb)->s_jquota_fmt, type); | 2866 | EXT3_SB(sb)->s_jquota_fmt, type); |
2867 | } | 2867 | } |
2868 | 2868 | ||
2869 | /* | 2869 | /* |
@@ -2914,7 +2914,7 @@ static int ext3_quota_on(struct super_block *sb, int type, int format_id, | |||
2914 | } | 2914 | } |
2915 | } | 2915 | } |
2916 | 2916 | ||
2917 | err = vfs_quota_on_path(sb, type, format_id, &path); | 2917 | err = dquot_quota_on_path(sb, type, format_id, &path); |
2918 | path_put(&path); | 2918 | path_put(&path); |
2919 | return err; | 2919 | return err; |
2920 | } | 2920 | } |