diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 986b5d5d369f..527a09a82297 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -92,6 +92,7 @@ extern int dir_notify_enable; | |||
92 | /* public flags for file_system_type */ | 92 | /* public flags for file_system_type */ |
93 | #define FS_REQUIRES_DEV 1 | 93 | #define FS_REQUIRES_DEV 1 |
94 | #define FS_BINARY_MOUNTDATA 2 | 94 | #define FS_BINARY_MOUNTDATA 2 |
95 | #define FS_HAS_SUBTYPE 4 | ||
95 | #define FS_REVAL_DOT 16384 /* Check the paths ".", ".." for staleness */ | 96 | #define FS_REVAL_DOT 16384 /* Check the paths ".", ".." for staleness */ |
96 | #define FS_RENAME_DOES_D_MOVE 32768 /* FS will handle d_move() | 97 | #define FS_RENAME_DOES_D_MOVE 32768 /* FS will handle d_move() |
97 | * during rename() internally. | 98 | * during rename() internally. |
@@ -961,6 +962,12 @@ struct super_block { | |||
961 | /* Granularity of c/m/atime in ns. | 962 | /* Granularity of c/m/atime in ns. |
962 | Cannot be worse than a second */ | 963 | Cannot be worse than a second */ |
963 | u32 s_time_gran; | 964 | u32 s_time_gran; |
965 | |||
966 | /* | ||
967 | * Filesystem subtype. If non-empty the filesystem type field | ||
968 | * in /proc/mounts will be "type.subtype" | ||
969 | */ | ||
970 | char *s_subtype; | ||
964 | }; | 971 | }; |
965 | 972 | ||
966 | extern struct timespec current_fs_time(struct super_block *sb); | 973 | extern struct timespec current_fs_time(struct super_block *sb); |