mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / fs / proc / fd.h
blobf371a602bf5856d7381ded1d3bbe91f00e2634c1
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PROCFS_FD_H__
3 #define __PROCFS_FD_H__
5 #include <linux/fs.h>
7 extern const struct file_operations proc_fd_operations;
8 extern const struct inode_operations proc_fd_inode_operations;
10 extern const struct file_operations proc_fdinfo_operations;
11 extern const struct inode_operations proc_fdinfo_inode_operations;
13 extern int proc_fd_permission(struct inode *inode, int mask);
15 static inline unsigned int proc_fd(struct inode *inode)
17 return PROC_I(inode)->fd;
20 #endif /* __PROCFS_FD_H__ */