Browse Source

qstr: constify instances in overlayfs

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Al Viro 9 years ago
parent
commit
29c42e80ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/overlayfs/super.c

+ 1 - 1
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,
 static inline struct dentry *ovl_lookup_real(struct super_block *ovl_sb,
 					     struct dentry *dir,
 					     struct dentry *dir,
-					     struct qstr *name)
+					     const struct qstr *name)
 {
 {
 	const struct cred *old_cred;
 	const struct cred *old_cred;
 	struct dentry *dentry;
 	struct dentry *dentry;