projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'omap-gpmc-fixes-for-v3.10' of git://github.com/jonhunter/linux into...
[cascardo/linux.git]
/
fs
/
proc
/
fd.h
diff --git
a/fs/proc/fd.h
b/fs/proc/fd.h
index
cbb1d47
..
7c047f2
100644
(file)
--- a/
fs/proc/fd.h
+++ b/
fs/proc/fd.h
@@
-11,4
+11,9
@@
extern const struct inode_operations proc_fdinfo_inode_operations;
extern int proc_fd_permission(struct inode *inode, int mask);
+static inline int proc_fd(struct inode *inode)
+{
+ return PROC_I(inode)->fd;
+}
+
#endif /* __PROCFS_FD_H__ */