Scroll to navigation

GET_SUPER_EXCLUSIVE_(9) The Linux VFS GET_SUPER_EXCLUSIVE_(9)

NAME

get_super_exclusive_thawed - get thawed superblock of a device

SYNOPSIS

struct super_block * get_super_exclusive_thawed(struct block_device * bdev);

ARGUMENTS

struct block_device * bdev
device to get the superblock for

DESCRIPTION

Scans the superblock list and finds the superblock of the file system mounted on the device. The superblock is returned once it is thawed (or immediately if it was not frozen) and s_umount semaphore is held in exclusive mode. NULL is returned if no match is found.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11