diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 8e9f00fd6d18..9846db93a595 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -1614,7 +1614,7 @@ static ssize_t do_rw_proc(int write, struct file * file, char __user * buf, | |||
1614 | size_t count, loff_t *ppos) | 1614 | size_t count, loff_t *ppos) |
1615 | { | 1615 | { |
1616 | int op; | 1616 | int op; |
1617 | struct proc_dir_entry *de = PDE(file->f_dentry->d_inode); | 1617 | struct proc_dir_entry *de = PDE(file->f_path.dentry->d_inode); |
1618 | struct ctl_table *table; | 1618 | struct ctl_table *table; |
1619 | size_t res; | 1619 | size_t res; |
1620 | ssize_t error = -ENOTDIR; | 1620 | ssize_t error = -ENOTDIR; |