summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h3
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 */
1249enum { 1250enum {
@@ -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
3034extern bool path_noexec(const struct path *path);
3035
3033#endif /* _LINUX_FS_H */ 3036#endif /* _LINUX_FS_H */