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