mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 18:20:25 +02:00
qstr: constify instances in procfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
13983d062f
commit
dc12e90949
1 changed files with 1 additions and 1 deletions
|
|
@ -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 *head = grab_header(dir);
|
||||||
struct ctl_table_header *h = NULL;
|
struct ctl_table_header *h = NULL;
|
||||||
struct qstr *name = &dentry->d_name;
|
const struct qstr *name = &dentry->d_name;
|
||||||
struct ctl_table *p;
|
struct ctl_table *p;
|
||||||
struct inode *inode;
|
struct inode *inode;
|
||||||
struct dentry *err = ERR_PTR(-ENOENT);
|
struct dentry *err = ERR_PTR(-ENOENT);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue