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 | 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 | 141 | enum vfs_get_super_keying { |
| 142 | 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 | 147 | enum vfs_get_super_keying keying, |
| 148 | 148 | int (*fill_super)(struct super_block *sb, |
| 149 | 149 | struct fs_context *fc)); |
| 150 | + | |
| 150 | 151 | extern int get_tree_nodev(struct fs_context *fc, |
| 151 | 152 | int (*fill_super)(struct super_block *sb, |
| 152 | 153 | struct fs_context *fc)); |
| 153 | 154 | extern int get_tree_single(struct fs_context *fc, |
| 154 | 155 | int (*fill_super)(struct super_block *sb, |
| 155 | 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 | 162 | extern const struct file_operations fscontext_fops; |
| 158 | 163 | |