diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index a0653e560c26..42912f8d286e 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1244,6 +1244,7 @@ struct mm_struct; | |||
1244 | 1244 | ||
1245 | /* sb->s_iflags */ | 1245 | /* sb->s_iflags */ |
1246 | #define SB_I_CGROUPWB 0x00000001 /* cgroup-aware writeback enabled */ | 1246 | #define SB_I_CGROUPWB 0x00000001 /* cgroup-aware writeback enabled */ |
1247 | #define SB_I_NOEXEC 0x00000002 /* Ignore executables on this fs */ | ||
1247 | 1248 | ||
1248 | /* Possible states of 'frozen' field */ | 1249 | /* Possible states of 'frozen' field */ |
1249 | enum { | 1250 | enum { |
@@ -3030,4 +3031,6 @@ static inline bool dir_relax(struct inode *inode) | |||
3030 | return !IS_DEADDIR(inode); | 3031 | return !IS_DEADDIR(inode); |
3031 | } | 3032 | } |
3032 | 3033 | ||
3034 | extern bool path_noexec(const struct path *path); | ||
3035 | |||
3033 | #endif /* _LINUX_FS_H */ | 3036 | #endif /* _LINUX_FS_H */ |