xref: /OK3568_Linux_fs/kernel/include/linux/pseudo_fs.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun #ifndef __LINUX_PSEUDO_FS__
2*4882a593Smuzhiyun #define __LINUX_PSEUDO_FS__
3*4882a593Smuzhiyun 
4*4882a593Smuzhiyun #include <linux/fs_context.h>
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun struct pseudo_fs_context {
7*4882a593Smuzhiyun 	const struct super_operations *ops;
8*4882a593Smuzhiyun 	const struct xattr_handler **xattr;
9*4882a593Smuzhiyun 	const struct dentry_operations *dops;
10*4882a593Smuzhiyun 	unsigned long magic;
11*4882a593Smuzhiyun };
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun struct pseudo_fs_context *init_pseudo(struct fs_context *fc,
14*4882a593Smuzhiyun 				      unsigned long magic);
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #endif
17