aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r--fs/proc/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 0502f17b860d..6264b7a3a9f0 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -46,7 +46,7 @@ static inline struct task_struct *proc_task(struct inode *inode)
46 return PROC_I(inode)->task; 46 return PROC_I(inode)->task;
47} 47}
48 48
49static inline int proc_type(struct inode *inode) 49static inline int proc_fd(struct inode *inode)
50{ 50{
51 return PROC_I(inode)->type; 51 return PROC_I(inode)->fd;
52} 52}