aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/super.c
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/ocfs2/super.c
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/ocfs2/super.c')
-rw-r--r--fs/ocfs2/super.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 5367d6dee395..0eaa929a4dbf 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -918,8 +918,8 @@ static int ocfs2_enable_quotas(struct ocfs2_super *osb)
918 status = -ENOENT; 918 status = -ENOENT;
919 goto out_quota_off; 919 goto out_quota_off;
920 } 920 }
921 status = vfs_quota_enable(inode[type], type, QFMT_OCFS2, 921 status = dquot_enable(inode[type], type, QFMT_OCFS2,
922 DQUOT_USAGE_ENABLED); 922 DQUOT_USAGE_ENABLED);
923 if (status < 0) 923 if (status < 0)
924 goto out_quota_off; 924 goto out_quota_off;
925 } 925 }
@@ -972,8 +972,8 @@ static int ocfs2_quota_on(struct super_block *sb, int type, int format_id,
972 if (!OCFS2_HAS_RO_COMPAT_FEATURE(sb, feature[type])) 972 if (!OCFS2_HAS_RO_COMPAT_FEATURE(sb, feature[type]))
973 return -EINVAL; 973 return -EINVAL;
974 974
975 return vfs_quota_enable(sb_dqopt(sb)->files[type], type, 975 return dquot_enable(sb_dqopt(sb)->files[type], type,
976 format_id, DQUOT_LIMITS_ENABLED); 976 format_id, DQUOT_LIMITS_ENABLED);
977} 977}
978 978
979/* Handle quota off quotactl */ 979/* Handle quota off quotactl */
@@ -985,11 +985,11 @@ static int ocfs2_quota_off(struct super_block *sb, int type)
985static const struct quotactl_ops ocfs2_quotactl_ops = { 985static const struct quotactl_ops ocfs2_quotactl_ops = {
986 .quota_on = ocfs2_quota_on, 986 .quota_on = ocfs2_quota_on,
987 .quota_off = ocfs2_quota_off, 987 .quota_off = ocfs2_quota_off,
988 .quota_sync = vfs_quota_sync, 988 .quota_sync = dquot_quota_sync,
989 .get_info = vfs_get_dqinfo, 989 .get_info = dquot_get_dqinfo,
990 .set_info = vfs_set_dqinfo, 990 .set_info = dquot_set_dqinfo,
991 .get_dqblk = vfs_get_dqblk, 991 .get_dqblk = dquot_get_dqblk,
992 .set_dqblk = vfs_set_dqblk, 992 .set_dqblk = dquot_set_dqblk,
993}; 993};
994 994
995static int ocfs2_fill_super(struct super_block *sb, void *data, int silent) 995static int ocfs2_fill_super(struct super_block *sb, void *data, int silent)