mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-12 09:32:12 +00:00
Make it possible for pseudo filesystems to specify default dentry flags. Link: https://patch.msgid.link/20251029-work-namespace-nstree-listns-v4-1-2e6f823ebdc0@kernel.org Tested-by: syzbot@syzkaller.appspotmail.com Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
19 lines
426 B
C
19 lines
426 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;
|
|
unsigned int s_d_flags;
|
|
};
|
|
|
|
struct pseudo_fs_context *init_pseudo(struct fs_context *fc,
|
|
unsigned long magic);
|
|
|
|
#endif
|