Function report |
Source Code:fs\super.c |
Create Date:2022-07-28 20:02:27 |
Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_active_super - get an active reference to the superblock of a device*@bdev: device to get the superblock for* Scans the superblock list and finds the superblock of the file system* mounted on the device given. Returns the superblock with an active
Proto:struct super_block *get_active_super(struct block_device *bdev)
Type:struct super_block
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev |
851 | If Not bdev Then Return NULL |
854 | restart : |
857 | If hlist_unhashed( & s_instances) Then Continue |
863 | Return sb |
866 | spin_unlock( & sb_lock) |
867 | Return NULL |
Name | Describe |
---|---|
freeze_bdev | ze_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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |