Skip to content

Commit dc12e90

Browse files
author
Al Viro
committed
qstr: constify instances in procfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 13983d0 commit dc12e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/proc/proc_sysctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ static struct dentry *proc_sys_lookup(struct inode *dir, struct dentry *dentry,
474474
{
475475
struct ctl_table_header *head = grab_header(dir);
476476
struct ctl_table_header *h = NULL;
477-
struct qstr *name = &dentry->d_name;
477+
const struct qstr *name = &dentry->d_name;
478478
struct ctl_table *p;
479479
struct inode *inode;
480480
struct dentry *err = ERR_PTR(-ENOENT);

0 commit comments

Comments
 (0)