summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-07-21 04:36:53 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2016-07-29 12:05:24 +0200
commit29c42e80ba5b1e59a4f427b44e2bdebd347b9409 (patch)
tree2ce214261b81729cd6d6228fb601080032e45327 /fs/overlayfs
parentovl: clear nlink on rmdir (diff)
downloadlinux-29c42e80ba5b1e59a4f427b44e2bdebd347b9409.tar.xz
linux-29c42e80ba5b1e59a4f427b44e2bdebd347b9409.zip
qstr: constify instances in overlayfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs')
-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;