From: Al Viro Date: Thu, 21 Jul 2016 03:23:32 +0000 (-0400) Subject: qstr: constify instances in adfs X-Git-Tag: v4.8-rc1~8^2 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=commitdiff_plain;h=19a6d89de2f10ee3b18c3b9fd6c7c2e249a30d71 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;