From: Al Viro Date: Thu, 21 Jul 2016 03:23:32 +0000 (-0400) Subject: qstr: constify instances in adfs X-Git-Tag: v5.15~13070^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=19a6d89de2f10ee3b18c3b9fd6c7c2e249a30d71;p=mirror_ubuntu-kernels.git qstr: constify instances in adfs Signed-off-by: Al Viro --- diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index fd4cf2c48e48..62ee2cb8163b 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c @@ -101,7 +101,7 @@ out: } static int -adfs_match(struct qstr *name, struct object_info *obj) +adfs_match(const struct qstr *name, struct object_info *obj) { int i; @@ -126,7 +126,7 @@ adfs_match(struct qstr *name, struct object_info *obj) } static int -adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_info *obj) +adfs_dir_lookup_byname(struct inode *inode, const struct qstr *name, struct object_info *obj) { struct super_block *sb = inode->i_sb; const struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir;