diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-05-19 07:16:43 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-05-24 08:09:12 -0400 |
commit | 307ae18a56e5b706056a2050d52e8cc01b5171c0 (patch) | |
tree | c4efc57bb8f0fd1d2aa9e416d81c0c7ba87aaf22 /include | |
parent | e0ccfd959cd8907bcb66cc2042e0f4fd7fcbff2b (diff) |
quota: drop remount argument to ->quota_on and ->quota_off
Remount handling has fully moved into the filesystem, so all this is
superflous now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/quota.h | 4 | ||||
-rw-r--r-- | include/linux/quotaops.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index 7126a15467f1..2789d07c37be 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h | |||
@@ -332,8 +332,8 @@ struct dquot_operations { | |||
332 | 332 | ||
333 | /* Operations handling requests from userspace */ | 333 | /* Operations handling requests from userspace */ |
334 | struct quotactl_ops { | 334 | struct quotactl_ops { |
335 | int (*quota_on)(struct super_block *, int, int, char *, int); | 335 | int (*quota_on)(struct super_block *, int, int, char *); |
336 | int (*quota_off)(struct super_block *, int, int); | 336 | int (*quota_off)(struct super_block *, int); |
337 | int (*quota_sync)(struct super_block *, int, int); | 337 | int (*quota_sync)(struct super_block *, int, int); |
338 | int (*get_info)(struct super_block *, int, struct if_dqinfo *); | 338 | int (*get_info)(struct super_block *, int, struct if_dqinfo *); |
339 | int (*set_info)(struct super_block *, int, struct if_dqinfo *); | 339 | int (*set_info)(struct super_block *, int, struct if_dqinfo *); |
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index cfa2abb1b6d1..a6592ddc349f 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
@@ -67,14 +67,14 @@ int dquot_mark_dquot_dirty(struct dquot *dquot); | |||
67 | int dquot_file_open(struct inode *inode, struct file *file); | 67 | int dquot_file_open(struct inode *inode, struct file *file); |
68 | 68 | ||
69 | int vfs_quota_on(struct super_block *sb, int type, int format_id, | 69 | int vfs_quota_on(struct super_block *sb, int type, int format_id, |
70 | char *path, int remount); | 70 | char *path); |
71 | int vfs_quota_enable(struct inode *inode, int type, int format_id, | 71 | int vfs_quota_enable(struct inode *inode, int type, int format_id, |
72 | unsigned int flags); | 72 | unsigned int flags); |
73 | int vfs_quota_on_path(struct super_block *sb, int type, int format_id, | 73 | int vfs_quota_on_path(struct super_block *sb, int type, int format_id, |
74 | struct path *path); | 74 | struct path *path); |
75 | int vfs_quota_on_mount(struct super_block *sb, char *qf_name, | 75 | int vfs_quota_on_mount(struct super_block *sb, char *qf_name, |
76 | int format_id, int type); | 76 | int format_id, int type); |
77 | int vfs_quota_off(struct super_block *sb, int type, int remount); | 77 | int vfs_quota_off(struct super_block *sb, int type); |
78 | int vfs_quota_sync(struct super_block *sb, int type, int wait); | 78 | int vfs_quota_sync(struct super_block *sb, int type, int wait); |
79 | int vfs_get_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii); | 79 | int vfs_get_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii); |
80 | int vfs_set_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii); | 80 | int vfs_set_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii); |