Loading fs/ext4/super.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1187,7 +1187,7 @@ static int ext4_release_dquot(struct dquot *dquot); static int ext4_mark_dquot_dirty(struct dquot *dquot); static int ext4_mark_dquot_dirty(struct dquot *dquot); static int ext4_write_info(struct super_block *sb, int type); static int ext4_write_info(struct super_block *sb, int type); static int ext4_quota_on(struct super_block *sb, int type, int format_id, static int ext4_quota_on(struct super_block *sb, int type, int format_id, struct path *path); const struct path *path); static int ext4_quota_off(struct super_block *sb, int type); static int ext4_quota_off(struct super_block *sb, int type); static int ext4_quota_on_mount(struct super_block *sb, int type); static int ext4_quota_on_mount(struct super_block *sb, int type); static ssize_t ext4_quota_read(struct super_block *sb, int type, char *data, static ssize_t ext4_quota_read(struct super_block *sb, int type, char *data, Loading Loading @@ -5239,7 +5239,7 @@ static void lockdep_set_quota_inode(struct inode *inode, int subclass) * Standard function to be called on quota_on * Standard function to be called on quota_on */ */ static int ext4_quota_on(struct super_block *sb, int type, int format_id, static int ext4_quota_on(struct super_block *sb, int type, int format_id, struct path *path) const struct path *path) { { int err; int err; Loading fs/quota/dquot.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2401,7 +2401,7 @@ int dquot_resume(struct super_block *sb, int type) EXPORT_SYMBOL(dquot_resume); EXPORT_SYMBOL(dquot_resume); int dquot_quota_on(struct super_block *sb, int type, int format_id, int dquot_quota_on(struct super_block *sb, int type, int format_id, struct path *path) const struct path *path) { { int error = security_quota_on(path->dentry); int error = security_quota_on(path->dentry); if (error) if (error) Loading fs/quota/quota.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -80,7 +80,7 @@ unsigned int qtype_enforce_flag(int type) } } static int quota_quotaon(struct super_block *sb, int type, qid_t id, static int quota_quotaon(struct super_block *sb, int type, qid_t id, struct path *path) const struct path *path) { { if (!sb->s_qcop->quota_on && !sb->s_qcop->quota_enable) if (!sb->s_qcop->quota_on && !sb->s_qcop->quota_enable) return -ENOSYS; return -ENOSYS; Loading Loading @@ -700,7 +700,7 @@ static int quota_rmxquota(struct super_block *sb, void __user *addr) /* Copy parameters and call proper function */ /* Copy parameters and call proper function */ static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, void __user *addr, struct path *path) void __user *addr, const struct path *path) { { int ret; int ret; Loading fs/reiserfs/super.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -802,7 +802,7 @@ static int reiserfs_acquire_dquot(struct dquot *); static int reiserfs_release_dquot(struct dquot *); static int reiserfs_release_dquot(struct dquot *); static int reiserfs_mark_dquot_dirty(struct dquot *); static int reiserfs_mark_dquot_dirty(struct dquot *); static int reiserfs_write_info(struct super_block *, int); static int reiserfs_write_info(struct super_block *, int); static int reiserfs_quota_on(struct super_block *, int, int, struct path *); static int reiserfs_quota_on(struct super_block *, int, int, const struct path *); static const struct dquot_operations reiserfs_quota_operations = { static const struct dquot_operations reiserfs_quota_operations = { .write_dquot = reiserfs_write_dquot, .write_dquot = reiserfs_write_dquot, Loading Loading @@ -2348,7 +2348,7 @@ static int reiserfs_quota_on_mount(struct super_block *sb, int type) * Standard function to be called on quota_on * Standard function to be called on quota_on */ */ static int reiserfs_quota_on(struct super_block *sb, int type, int format_id, static int reiserfs_quota_on(struct super_block *sb, int type, int format_id, struct path *path) const struct path *path) { { int err; int err; struct inode *inode; struct inode *inode; Loading include/linux/quota.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -431,7 +431,7 @@ struct qc_info { /* Operations handling requests from userspace */ /* Operations handling requests from userspace */ struct quotactl_ops { struct quotactl_ops { int (*quota_on)(struct super_block *, int, int, struct path *); int (*quota_on)(struct super_block *, int, int, const struct path *); int (*quota_off)(struct super_block *, int); int (*quota_off)(struct super_block *, int); int (*quota_enable)(struct super_block *, unsigned int); int (*quota_enable)(struct super_block *, unsigned int); int (*quota_disable)(struct super_block *, unsigned int); int (*quota_disable)(struct super_block *, unsigned int); Loading Loading
fs/ext4/super.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1187,7 +1187,7 @@ static int ext4_release_dquot(struct dquot *dquot); static int ext4_mark_dquot_dirty(struct dquot *dquot); static int ext4_mark_dquot_dirty(struct dquot *dquot); static int ext4_write_info(struct super_block *sb, int type); static int ext4_write_info(struct super_block *sb, int type); static int ext4_quota_on(struct super_block *sb, int type, int format_id, static int ext4_quota_on(struct super_block *sb, int type, int format_id, struct path *path); const struct path *path); static int ext4_quota_off(struct super_block *sb, int type); static int ext4_quota_off(struct super_block *sb, int type); static int ext4_quota_on_mount(struct super_block *sb, int type); static int ext4_quota_on_mount(struct super_block *sb, int type); static ssize_t ext4_quota_read(struct super_block *sb, int type, char *data, static ssize_t ext4_quota_read(struct super_block *sb, int type, char *data, Loading Loading @@ -5239,7 +5239,7 @@ static void lockdep_set_quota_inode(struct inode *inode, int subclass) * Standard function to be called on quota_on * Standard function to be called on quota_on */ */ static int ext4_quota_on(struct super_block *sb, int type, int format_id, static int ext4_quota_on(struct super_block *sb, int type, int format_id, struct path *path) const struct path *path) { { int err; int err; Loading
fs/quota/dquot.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2401,7 +2401,7 @@ int dquot_resume(struct super_block *sb, int type) EXPORT_SYMBOL(dquot_resume); EXPORT_SYMBOL(dquot_resume); int dquot_quota_on(struct super_block *sb, int type, int format_id, int dquot_quota_on(struct super_block *sb, int type, int format_id, struct path *path) const struct path *path) { { int error = security_quota_on(path->dentry); int error = security_quota_on(path->dentry); if (error) if (error) Loading
fs/quota/quota.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -80,7 +80,7 @@ unsigned int qtype_enforce_flag(int type) } } static int quota_quotaon(struct super_block *sb, int type, qid_t id, static int quota_quotaon(struct super_block *sb, int type, qid_t id, struct path *path) const struct path *path) { { if (!sb->s_qcop->quota_on && !sb->s_qcop->quota_enable) if (!sb->s_qcop->quota_on && !sb->s_qcop->quota_enable) return -ENOSYS; return -ENOSYS; Loading Loading @@ -700,7 +700,7 @@ static int quota_rmxquota(struct super_block *sb, void __user *addr) /* Copy parameters and call proper function */ /* Copy parameters and call proper function */ static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, void __user *addr, struct path *path) void __user *addr, const struct path *path) { { int ret; int ret; Loading
fs/reiserfs/super.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -802,7 +802,7 @@ static int reiserfs_acquire_dquot(struct dquot *); static int reiserfs_release_dquot(struct dquot *); static int reiserfs_release_dquot(struct dquot *); static int reiserfs_mark_dquot_dirty(struct dquot *); static int reiserfs_mark_dquot_dirty(struct dquot *); static int reiserfs_write_info(struct super_block *, int); static int reiserfs_write_info(struct super_block *, int); static int reiserfs_quota_on(struct super_block *, int, int, struct path *); static int reiserfs_quota_on(struct super_block *, int, int, const struct path *); static const struct dquot_operations reiserfs_quota_operations = { static const struct dquot_operations reiserfs_quota_operations = { .write_dquot = reiserfs_write_dquot, .write_dquot = reiserfs_write_dquot, Loading Loading @@ -2348,7 +2348,7 @@ static int reiserfs_quota_on_mount(struct super_block *sb, int type) * Standard function to be called on quota_on * Standard function to be called on quota_on */ */ static int reiserfs_quota_on(struct super_block *sb, int type, int format_id, static int reiserfs_quota_on(struct super_block *sb, int type, int format_id, struct path *path) const struct path *path) { { int err; int err; struct inode *inode; struct inode *inode; Loading
include/linux/quota.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -431,7 +431,7 @@ struct qc_info { /* Operations handling requests from userspace */ /* Operations handling requests from userspace */ struct quotactl_ops { struct quotactl_ops { int (*quota_on)(struct super_block *, int, int, struct path *); int (*quota_on)(struct super_block *, int, int, const struct path *); int (*quota_off)(struct super_block *, int); int (*quota_off)(struct super_block *, int); int (*quota_enable)(struct super_block *, unsigned int); int (*quota_enable)(struct super_block *, unsigned int); int (*quota_disable)(struct super_block *, unsigned int); int (*quota_disable)(struct super_block *, unsigned int); Loading