Scroll to navigation

SGET(9) The Linux VFS SGET(9)

NAME

sget - find or create a superblock

SYNOPSIS

struct super_block * sget(struct file_system_type * type, int (*test) (struct super_block *,void *), int (*set) (struct super_block *,void *), int flags, 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

void * data

argument to each of them

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11