aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
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/reiserfs
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/reiserfs')
-rw-r--r--fs/reiserfs/super.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index fa46abd0d958..f0ab5c94139c 100644
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -305,7 +305,7 @@ static int finish_unfinished(struct super_block *s)
305 /* Turn quotas off */ 305 /* Turn quotas off */
306 for (i = 0; i < MAXQUOTAS; i++) { 306 for (i = 0; i < MAXQUOTAS; i++) {
307 if (sb_dqopt(s)->files[i]) 307 if (sb_dqopt(s)->files[i])
308 vfs_quota_off(s, i); 308 dquot_quota_off(s, i);
309 } 309 }
310 if (ms_active_set) 310 if (ms_active_set)
311 /* Restore the flag back */ 311 /* Restore the flag back */
@@ -636,12 +636,12 @@ static const struct dquot_operations reiserfs_quota_operations = {
636 636
637static const struct quotactl_ops reiserfs_qctl_operations = { 637static const struct quotactl_ops reiserfs_qctl_operations = {
638 .quota_on = reiserfs_quota_on, 638 .quota_on = reiserfs_quota_on,
639 .quota_off = vfs_quota_off, 639 .quota_off = dquot_quota_off,
640 .quota_sync = vfs_quota_sync, 640 .quota_sync = dquot_quota_sync,
641 .get_info = vfs_get_dqinfo, 641 .get_info = dquot_get_dqinfo,
642 .set_info = vfs_set_dqinfo, 642 .set_info = dquot_set_dqinfo,
643 .get_dqblk = vfs_get_dqblk, 643 .get_dqblk = dquot_get_dqblk,
644 .set_dqblk = vfs_set_dqblk, 644 .set_dqblk = dquot_set_dqblk,
645}; 645};
646#endif 646#endif
647 647
@@ -2030,8 +2030,8 @@ static int reiserfs_write_info(struct super_block *sb, int type)
2030 */ 2030 */
2031static int reiserfs_quota_on_mount(struct super_block *sb, int type) 2031static int reiserfs_quota_on_mount(struct super_block *sb, int type)
2032{ 2032{
2033 return vfs_quota_on_mount(sb, REISERFS_SB(sb)->s_qf_names[type], 2033 return dquot_quota_on_mount(sb, REISERFS_SB(sb)->s_qf_names[type],
2034 REISERFS_SB(sb)->s_jquota_fmt, type); 2034 REISERFS_SB(sb)->s_jquota_fmt, type);
2035} 2035}
2036 2036
2037/* 2037/*
@@ -2091,7 +2091,7 @@ static int reiserfs_quota_on(struct super_block *sb, int type, int format_id,
2091 if (err) 2091 if (err)
2092 goto out; 2092 goto out;
2093 } 2093 }
2094 err = vfs_quota_on_path(sb, type, format_id, &path); 2094 err = dquot_quota_on_path(sb, type, format_id, &path);
2095out: 2095out:
2096 path_put(&path); 2096 path_put(&path);
2097 return err; 2097 return err;