diff options
Diffstat (limited to 'fs/proc/inode.c')
-rw-r--r-- | fs/proc/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 31e0475c6cb9..6dcef089e18e 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c | |||
@@ -62,7 +62,7 @@ static void proc_delete_inode(struct inode *inode) | |||
62 | truncate_inode_pages(&inode->i_data, 0); | 62 | truncate_inode_pages(&inode->i_data, 0); |
63 | 63 | ||
64 | /* Stop tracking associated processes */ | 64 | /* Stop tracking associated processes */ |
65 | tref_put(PROC_I(inode)->tref); | 65 | put_pid(PROC_I(inode)->pid); |
66 | 66 | ||
67 | /* Let go of any associated proc directory entry */ | 67 | /* Let go of any associated proc directory entry */ |
68 | de = PROC_I(inode)->pde; | 68 | de = PROC_I(inode)->pde; |
@@ -91,7 +91,7 @@ static struct inode *proc_alloc_inode(struct super_block *sb) | |||
91 | ei = (struct proc_inode *)kmem_cache_alloc(proc_inode_cachep, SLAB_KERNEL); | 91 | ei = (struct proc_inode *)kmem_cache_alloc(proc_inode_cachep, SLAB_KERNEL); |
92 | if (!ei) | 92 | if (!ei) |
93 | return NULL; | 93 | return NULL; |
94 | ei->tref = NULL; | 94 | ei->pid = NULL; |
95 | ei->fd = 0; | 95 | ei->fd = 0; |
96 | ei->op.proc_get_link = NULL; | 96 | ei->op.proc_get_link = NULL; |
97 | ei->pde = NULL; | 97 | ei->pde = NULL; |