From: Al Viro Date: Thu, 21 Jul 2016 02:41:44 +0000 (-0400) Subject: qstr: constify instances in procfs X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dc12e909490dcad210ee52bc1b0776c95dcc9edf;p=linux-beck.git qstr: constify instances in procfs Signed-off-by: Al Viro --- diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index 5e57c3e46e1d..04f69ea4b8c7 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c @@ -474,7 +474,7 @@ static struct dentry *proc_sys_lookup(struct inode *dir, struct dentry *dentry, { struct ctl_table_header *head = grab_header(dir); struct ctl_table_header *h = NULL; - struct qstr *name = &dentry->d_name; + const struct qstr *name = &dentry->d_name; struct ctl_table *p; struct inode *inode; struct dentry *err = ERR_PTR(-ENOENT);