|
@@ -1327,6 +1327,7 @@ struct mm_struct;
|
|
/* sb->s_iflags */
|
|
/* sb->s_iflags */
|
|
#define SB_I_CGROUPWB 0x00000001 /* cgroup-aware writeback enabled */
|
|
#define SB_I_CGROUPWB 0x00000001 /* cgroup-aware writeback enabled */
|
|
#define SB_I_NOEXEC 0x00000002 /* Ignore executables on this fs */
|
|
#define SB_I_NOEXEC 0x00000002 /* Ignore executables on this fs */
|
|
|
|
+#define SB_I_NODEV 0x00000004 /* Ignore devices on this fs */
|
|
|
|
|
|
/* sb->s_iflags to limit user namespace mounts */
|
|
/* sb->s_iflags to limit user namespace mounts */
|
|
#define SB_I_USERNS_VISIBLE 0x00000010 /* fstype already mounted */
|
|
#define SB_I_USERNS_VISIBLE 0x00000010 /* fstype already mounted */
|
|
@@ -1602,6 +1603,7 @@ extern int vfs_whiteout(struct inode *, struct dentry *);
|
|
*/
|
|
*/
|
|
extern void inode_init_owner(struct inode *inode, const struct inode *dir,
|
|
extern void inode_init_owner(struct inode *inode, const struct inode *dir,
|
|
umode_t mode);
|
|
umode_t mode);
|
|
|
|
+extern bool may_open_dev(const struct path *path);
|
|
/*
|
|
/*
|
|
* VFS FS_IOC_FIEMAP helper definitions.
|
|
* VFS FS_IOC_FIEMAP helper definitions.
|
|
*/
|
|
*/
|