projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
disable some mediatekl custom warnings
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
proc
/
fd.h
diff --git
a/fs/proc/fd.h
b/fs/proc/fd.h
index cbb1d47deda8c11ce81f2b32ffe2ec6b7841122b..7c047f256ae2ccb945aab10d8688d6305b5a0eb7 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__ */