Scroll to navigation

SGET_USERNS(9) The Linux VFS SGET_USERNS(9)

NAME

sget_userns - find or create a superblock

SYNOPSIS

struct super_block * sget_userns(struct file_system_type * type, int (*test) (struct super_block *,void *), int (*set) (struct super_block *,void *), int flags, struct user_namespace * user_ns, void * data);

ARGUMENTS

struct file_system_type * type

filesystem type superblock should belong to

int (*)(struct super_block *,void *) test

comparison callback

int (*)(struct super_block *,void *) set

setup callback

int flags

mount flags

struct user_namespace * user_ns

User namespace for the super_block

void * data

argument to each of them

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12