get_super(9) get the superblock of a device

SYNOPSIS

struct super_block * get_super(struct block_device * bdev);

ARGUMENTS

bdev

device to get the superblock for

Scans the superblock list and finds the superblock of the file system mounted on the device given. NULL is returned if no match is found.

COPYRIGHT