diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-12-23 18:55:56 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-01-30 17:44:27 -0500 |
commit | f3a09c92018a91ad0981146a4ac59414f814d801 (patch) | |
tree | c500afabc514faf977ceacfbe57ce04910bcc3e0 /include/linux/fs.h | |
parent | e1a91586d5da6f879b6dd385a2e7227bf1653570 (diff) |
introduce fs_context methods
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index c65d02c5c512..8d578a9e1e8c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -61,6 +61,7 @@ struct workqueue_struct; | |||
61 | struct iov_iter; | 61 | struct iov_iter; |
62 | struct fscrypt_info; | 62 | struct fscrypt_info; |
63 | struct fscrypt_operations; | 63 | struct fscrypt_operations; |
64 | struct fs_context; | ||
64 | 65 | ||
65 | extern void __init inode_init(void); | 66 | extern void __init inode_init(void); |
66 | extern void __init inode_init_early(void); | 67 | extern void __init inode_init_early(void); |
@@ -2173,6 +2174,7 @@ struct file_system_type { | |||
2173 | #define FS_HAS_SUBTYPE 4 | 2174 | #define FS_HAS_SUBTYPE 4 |
2174 | #define FS_USERNS_MOUNT 8 /* Can be mounted by userns root */ | 2175 | #define FS_USERNS_MOUNT 8 /* Can be mounted by userns root */ |
2175 | #define FS_RENAME_DOES_D_MOVE 32768 /* FS will handle d_move() during rename() internally. */ | 2176 | #define FS_RENAME_DOES_D_MOVE 32768 /* FS will handle d_move() during rename() internally. */ |
2177 | int (*init_fs_context)(struct fs_context *); | ||
2176 | struct dentry *(*mount) (struct file_system_type *, int, | 2178 | struct dentry *(*mount) (struct file_system_type *, int, |
2177 | const char *, void *); | 2179 | const char *, void *); |
2178 | void (*kill_sb) (struct super_block *); | 2180 | void (*kill_sb) (struct super_block *); |