From: Al Viro Date: Thu, 21 Jul 2016 02:36:53 +0000 (-0400) Subject: qstr: constify instances in overlayfs X-Git-Tag: v4.1.12-108.0.20170806_1300~25 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7c245a9014b6a08dc1577a431cce4579a7b38026;p=users%2Fjedix%2Flinux-maple.git qstr: constify instances in overlayfs Signed-off-by: Al Viro Signed-off-by: Miklos Szeredi Orabug: 26401569 (backport upstream commit 29c42e80ba5b1e59a4f427b44e2bdebd347b9409) Signed-off-by: Shan Hai Reviewed-by: Somasundaram Krishnasamy --- diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index 8ec4feb17f137..3672db4617c8e 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -317,7 +317,7 @@ static struct ovl_entry *ovl_alloc_entry(unsigned int numlower) 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;