summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 75f2ed289a3f..56b8e358af5c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2210,9 +2210,6 @@ struct file_system_type {
2210 2210
2211#define MODULE_ALIAS_FS(NAME) MODULE_ALIAS("fs-" NAME) 2211#define MODULE_ALIAS_FS(NAME) MODULE_ALIAS("fs-" NAME)
2212 2212
2213extern struct dentry *mount_ns(struct file_system_type *fs_type,
2214 int flags, void *data, void *ns, struct user_namespace *user_ns,
2215 int (*fill_super)(struct super_block *, void *, int));
2216#ifdef CONFIG_BLOCK 2213#ifdef CONFIG_BLOCK
2217extern struct dentry *mount_bdev(struct file_system_type *fs_type, 2214extern struct dentry *mount_bdev(struct file_system_type *fs_type,
2218 int flags, const char *dev_name, void *data, 2215 int flags, const char *dev_name, void *data,
@@ -2252,28 +2249,10 @@ void free_anon_bdev(dev_t);
2252struct super_block *sget_fc(struct fs_context *fc, 2249struct super_block *sget_fc(struct fs_context *fc,
2253 int (*test)(struct super_block *, struct fs_context *), 2250 int (*test)(struct super_block *, struct fs_context *),
2254 int (*set)(struct super_block *, struct fs_context *)); 2251 int (*set)(struct super_block *, struct fs_context *));
2255struct super_block *sget_userns(struct file_system_type *type,
2256 int (*test)(struct super_block *,void *),
2257 int (*set)(struct super_block *,void *),
2258 int flags, struct user_namespace *user_ns,
2259 void *data);
2260struct super_block *sget(struct file_system_type *type, 2252struct super_block *sget(struct file_system_type *type,
2261 int (*test)(struct super_block *,void *), 2253 int (*test)(struct super_block *,void *),
2262 int (*set)(struct super_block *,void *), 2254 int (*set)(struct super_block *,void *),
2263 int flags, void *data); 2255 int flags, void *data);
2264extern struct dentry *mount_pseudo_xattr(struct file_system_type *, char *,
2265 const struct super_operations *ops,
2266 const struct xattr_handler **xattr,
2267 const struct dentry_operations *dops,
2268 unsigned long);
2269
2270static inline struct dentry *
2271mount_pseudo(struct file_system_type *fs_type, char *name,
2272 const struct super_operations *ops,
2273 const struct dentry_operations *dops, unsigned long magic)
2274{
2275 return mount_pseudo_xattr(fs_type, name, ops, NULL, dops, magic);
2276}
2277 2256
2278/* Alas, no aliases. Too much hassle with bringing module.h everywhere */ 2257/* Alas, no aliases. Too much hassle with bringing module.h everywhere */
2279#define fops_get(fops) \ 2258#define fops_get(fops) \