For vfs_get_keyed_super users.
Showing the changes to include/linux (1 of 6 files). Show all
Unified · Split
| @@ -136,7 +136,7 @@ extern int vfs_get_tree(struct fs_context *fc); · 135 unmodified lines | |||
| 136 | extern void put_fs_context(struct fs_context *fc); | 136 | extern void put_fs_context(struct fs_context *fc); |
| 137 | 137 | ||
| 138 | /* | 138 | /* |
| 139 | * sget() wrapper to be called from the ->get_tree() op. | 139 | * sget() wrappers to be called from the ->get_tree() op. |
| 140 | */ | 140 | */ |
| 141 | enum vfs_get_super_keying { | 141 | enum vfs_get_super_keying { |
| 142 | vfs_get_single_super, /* Only one such superblock may exist */ | 142 | vfs_get_single_super, /* Only one such superblock may exist */ |
| @@ -147,12 +147,17 @@ extern int vfs_get_super(struct fs_context *fc, · 4 unmodified lines | |||
| 147 | enum vfs_get_super_keying keying, | 147 | enum vfs_get_super_keying keying, |
| 148 | int (*fill_super)(struct super_block *sb, | 148 | int (*fill_super)(struct super_block *sb, |
| 149 | struct fs_context *fc)); | 149 | struct fs_context *fc)); |
| 150 | |||
| 150 | extern int get_tree_nodev(struct fs_context *fc, | 151 | extern int get_tree_nodev(struct fs_context *fc, |
| 151 | int (*fill_super)(struct super_block *sb, | 152 | int (*fill_super)(struct super_block *sb, |
| 152 | struct fs_context *fc)); | 153 | struct fs_context *fc)); |
| 153 | extern int get_tree_single(struct fs_context *fc, | 154 | extern int get_tree_single(struct fs_context *fc, |
| 154 | int (*fill_super)(struct super_block *sb, | 155 | int (*fill_super)(struct super_block *sb, |
| 155 | struct fs_context *fc)); | 156 | struct fs_context *fc)); |
| 157 | extern int get_tree_keyed(struct fs_context *fc, | ||
| 158 | int (*fill_super)(struct super_block *sb, | ||
| 159 | struct fs_context *fc), | ||
| 160 | void *key); | ||
| 156 | 161 | ||
| 157 | extern const struct file_operations fscontext_fops; | 162 | extern const struct file_operations fscontext_fops; |
| 158 | 163 | ||