diff options
author | Alexander Kuleshov <kuleshovmail@gmail.com> | 2015-02-12 15:01:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 18:54:12 -0800 |
commit | 6bee55f94f971ccf87c8c95c10fa1047ade0f122 (patch) | |
tree | 49d17716fbec009664aac95d8e77651f407568c3 /fs/proc/inode.c | |
parent | 695f055936938c674473ea071ca7359a863551e7 (diff) | |
download | linux-stable-6bee55f94f971ccf87c8c95c10fa1047ade0f122.tar.gz linux-stable-6bee55f94f971ccf87c8c95c10fa1047ade0f122.tar.bz2 linux-stable-6bee55f94f971ccf87c8c95c10fa1047ade0f122.zip |
fs: proc: use PDE() to get proc_dir_entry
Use the PDE() helper to get proc_dir_entry instead of coding it directly.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 8420a2f80811..13a50a32652d 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -40,7 +40,7 @@ static void proc_evict_inode(struct inode *inode) put_pid(PROC_I(inode)->pid); /* Let go of any associated proc directory entry */ - de = PROC_I(inode)->pde; + de = PDE(inode); if (de) pde_put(de); head = PROC_I(inode)->sysctl; |