diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-21 02:41:44 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-30 16:25:46 (GMT) |
commit | dc12e909490dcad210ee52bc1b0776c95dcc9edf (patch) | |
tree | 060de53d5961ec0815f5bbb7327b9ba72501046c /fs | |
parent | 13983d062f17fb69f249befeba81b5ca253ad641 (diff) | |
download | linux-dc12e909490dcad210ee52bc1b0776c95dcc9edf.tar.xz |
qstr: constify instances in procfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/proc_sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index 5e57c3e..04f69ea 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); |