Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-28 20:02:26
Last Modify:2022-05-24 06:42:17 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get the superblock of a device

Proto:struct super_block *get_super(struct block_device *bdev)

Type:struct super_block

Parameter:

TypeParameterName
struct block_device *bdev
788  Return __get_super(bdev, false)
Caller
NameDescribe
fsync_bdevWrite out and wait upon all dirty data associated with this* device. Filesystem data as well as the underlying block* device. Takes the superblock lock.
freeze_bdevze_bdev -- lock a filesystem and force it into a consistent state*@bdev: blockdevice to lock* If a superblock is found on this device, we take the s_umount semaphore* on it to make sure nobody unmounts until the snapshot creation is done
__invalidate_device
quotactl_blocklook up a superblock on which quota ops will be performed* - use the name of a block device to find the superblock thereon