qstr: constify instances in overlayfs
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Jul 2016 02:36:53 +0000 (22:36 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 29 Jul 2016 10:05:24 +0000 (12:05 +0200)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/super.c

index f3577395eca501262de3a46057e3c5b76c1d5ff9..4036132842b534934020dd0640b721d81320cee3 100644 (file)
@@ -421,7 +421,7 @@ static bool ovl_dentry_weird(struct dentry *dentry)
 
 static inline struct dentry *ovl_lookup_real(struct super_block *ovl_sb,
                                             struct dentry *dir,
-                                            struct qstr *name)
+                                            const struct qstr *name)
 {
        const struct cred *old_cred;
        struct dentry *dentry;