Merge tag 'irqchip-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm...
[linux/fpc-iii.git] / fs / proc / fd.h
blob46dafadd0083a5b59fe7c7a5bc6c8d33282a74be
1 #ifndef __PROCFS_FD_H__
2 #define __PROCFS_FD_H__
4 #include <linux/fs.h>
6 extern const struct file_operations proc_fd_operations;
7 extern const struct inode_operations proc_fd_inode_operations;
9 extern const struct file_operations proc_fdinfo_operations;
10 extern const struct inode_operations proc_fdinfo_inode_operations;
12 extern int proc_fd_permission(struct inode *inode, int mask);
14 static inline unsigned int proc_fd(struct inode *inode)
16 return PROC_I(inode)->fd;
19 #endif /* __PROCFS_FD_H__ */