diff options
author | Mark Brown <broonie@kernel.org> | 2015-06-09 18:35:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-09 18:35:46 +0100 |
commit | 6724af486903df57338c14424e02599e371cf563 (patch) | |
tree | 0e42ae32bbfe7e93ba9db11a1124aeb4378cbd71 /fs/proc/inode.c | |
parent | d2233325e5b7891914901867ca5355347d59df14 (diff) | |
parent | 9deef024a12ebae4965c89837f662905ac88944b (diff) |
Merge branch 'fix/fsl-dspi' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into spi-fsl-dspi
Diffstat (limited to 'fs/proc/inode.c')
-rw-r--r-- | fs/proc/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 7697b6621cfd..8272aaba1bb0 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -396,7 +396,7 @@ static const struct file_operations proc_reg_file_ops_no_compat = { static void *proc_follow_link(struct dentry *dentry, struct nameidata *nd) { - struct proc_dir_entry *pde = PDE(dentry->d_inode); + struct proc_dir_entry *pde = PDE(d_inode(dentry)); if (unlikely(!use_pde(pde))) return ERR_PTR(-EINVAL); nd_set_link(nd, pde->data); |