aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/proc_sysctl.c')
-rw-r--r--fs/proc/proc_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index b59db94d2ff4..ffbb513c06c6 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,
474{ 474{
475 struct ctl_table_header *head = grab_header(dir); 475 struct ctl_table_header *head = grab_header(dir);
476 struct ctl_table_header *h = NULL; 476 struct ctl_table_header *h = NULL;
477 struct qstr *name = &dentry->d_name; 477 const struct qstr *name = &dentry->d_name;
478 struct ctl_table *p; 478 struct ctl_table *p;
479 struct inode *inode; 479 struct inode *inode;
480 struct dentry *err = ERR_PTR(-ENOENT); 480 struct dentry *err = ERR_PTR(-ENOENT);