xref: /openbmc/linux/include/linux/pseudo_fs.h (revision 31d6d5ce)
131d6d5ceSDavid Howells #ifndef __LINUX_PSEUDO_FS__
231d6d5ceSDavid Howells #define __LINUX_PSEUDO_FS__
331d6d5ceSDavid Howells 
431d6d5ceSDavid Howells #include <linux/fs_context.h>
531d6d5ceSDavid Howells 
631d6d5ceSDavid Howells struct pseudo_fs_context {
731d6d5ceSDavid Howells 	const struct super_operations *ops;
831d6d5ceSDavid Howells 	const struct xattr_handler **xattr;
931d6d5ceSDavid Howells 	const struct dentry_operations *dops;
1031d6d5ceSDavid Howells 	unsigned long magic;
1131d6d5ceSDavid Howells };
1231d6d5ceSDavid Howells 
1331d6d5ceSDavid Howells struct pseudo_fs_context *init_pseudo(struct fs_context *fc,
1431d6d5ceSDavid Howells 				      unsigned long magic);
1531d6d5ceSDavid Howells 
1631d6d5ceSDavid Howells #endif
17