History

new helper: get_tree_keyed()

For vfs_get_keyed_super users.

Al Viro committed 7 years ago

Commit 533770c1 parent 1dd9bc06 files · +20 −9Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/fs_context.h+6−1
@@ -136,7 +136,7 @@ extern int vfs_get_tree(struct fs_context *fc); · 135 unmodified lines
136136 extern void put_fs_context(struct fs_context *fc);
137137
138138 /*
139− * sget() wrapper to be called from the ->get_tree() op.
139+ * sget() wrappers to be called from the ->get_tree() op.
140140 */
141141 enum vfs_get_super_keying {
142142 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
147147 enum vfs_get_super_keying keying,
148148 int (*fill_super)(struct super_block *sb,
149149 struct fs_context *fc));
150+
150151 extern int get_tree_nodev(struct fs_context *fc,
151152 int (*fill_super)(struct super_block *sb,
152153 struct fs_context *fc));
153154 extern int get_tree_single(struct fs_context *fc,
154155 int (*fill_super)(struct super_block *sb,
155156 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);
156161
157162 extern const struct file_operations fscontext_fops;
158163

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t