diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-11-20 19:49:34 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-05 19:03:06 -0500 |
commit | 8c54ca9c6882f5a68d19a82fd063b74f91d4c22b (patch) | |
tree | cf7f72322ef3eeab90a2612a80d55146c71e3b1c /fs/reiserfs | |
parent | a4141d7cf80fee99ace8d8a95dd358c98ad6ad69 (diff) | |
download | op-kernel-dev-8c54ca9c6882f5a68d19a82fd063b74f91d4c22b.zip op-kernel-dev-8c54ca9c6882f5a68d19a82fd063b74f91d4c22b.tar.gz |
quota: constify struct path in quota_on
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 0a6ad4e..e314cb3 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c @@ -802,7 +802,7 @@ static int reiserfs_acquire_dquot(struct dquot *); static int reiserfs_release_dquot(struct dquot *); static int reiserfs_mark_dquot_dirty(struct dquot *); 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 = { .write_dquot = reiserfs_write_dquot, @@ -2348,7 +2348,7 @@ static int reiserfs_quota_on_mount(struct super_block *sb, int type) * Standard function to be called on quota_on */ static int reiserfs_quota_on(struct super_block *sb, int type, int format_id, - struct path *path) + const struct path *path) { int err; struct inode *inode; |