Files
erofs-linux/include/linux/pseudo_fs.h
T
Erin Shepherd d2ab36bb11 pseudofs: add support for export_ops
Pseudo-filesystems might reasonably wish to implement the export ops
(particularly for name_to_handle_at/open_by_handle_at); plumb this
through pseudo_fs_context

Reviewed-by: Amir Goldstein <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Erin Shepherd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
2024-12-14 12:40:40 +01:00

18 lines
401 B
C

#ifndef __LINUX_PSEUDO_FS__
#define __LINUX_PSEUDO_FS__
#include <linux/fs_context.h>
struct pseudo_fs_context {
const struct super_operations *ops;
const struct export_operations *eops;
const struct xattr_handler * const *xattr;
const struct dentry_operations *dops;
unsigned long magic;
};
struct pseudo_fs_context *init_pseudo(struct fs_context *fc,
unsigned long magic);
#endif