mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
This patch prepares the ground for further extension of /proc/pid/fd[info] handling code by moving fdinfo handling code into fs/proc/fd.c. I think such move makes both fs/proc/base.c and fs/proc/fd.c easier to read. Signed-off-by: Cyrill Gorcunov <[email protected]> Acked-by: Pavel Emelyanov <[email protected]> CC: Al Viro <[email protected]> CC: Alexey Dobriyan <[email protected]> CC: Andrew Morton <[email protected]> CC: James Bottomley <[email protected]> CC: "Aneesh Kumar K.V" <[email protected]> CC: Alexey Dobriyan <[email protected]> CC: Matthew Helsley <[email protected]> CC: "J. Bruce Fields" <[email protected]> CC: "Aneesh Kumar K.V" <[email protected]> Signed-off-by: Al Viro <[email protected]>
15 lines
412 B
C
15 lines
412 B
C
#ifndef __PROCFS_FD_H__
|
|
#define __PROCFS_FD_H__
|
|
|
|
#include <linux/fs.h>
|
|
|
|
extern const struct file_operations proc_fd_operations;
|
|
extern const struct inode_operations proc_fd_inode_operations;
|
|
|
|
extern const struct file_operations proc_fdinfo_operations;
|
|
extern const struct inode_operations proc_fdinfo_inode_operations;
|
|
|
|
extern int proc_fd_permission(struct inode *inode, int mask);
|
|
|
|
#endif /* __PROCFS_FD_H__ */
|