mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
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]>
18 lines
401 B
C
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
|