summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-07-20 22:36:53 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2016-07-29 12:05:24 +0200
commit29c42e80ba5b1e59a4f427b44e2bdebd347b9409 (patch)
tree2ce214261b81729cd6d6228fb601080032e45327
parentdbc816d05ddcfb189af8784d04fc84c812db3747 (diff)
qstr: constify instances in overlayfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
-rw-r--r--fs/overlayfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index f3577395eca5..4036132842b5 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -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;