]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/reiserfs/super.c
quota: constify struct path in quota_on
[mirror_ubuntu-bionic-kernel.git] / fs / reiserfs / super.c
index 0a6ad4e71e88dd0c2a7a3b3c4eaaa1671ba6dcad..e314cb30a181e1017f7df769f7faf1bef89bdef1 100644 (file)
@@ -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;