SysTutorials

Linux Manual Pages › Section 9

sget_userns(9)

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

type

filesystem type superblock should belong to

test

comparison callback

set

setup callback

flags

mount flags

user_ns

User namespace for the super_block

data

argument to each of them

Copyright