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