Function report |
Source Code:block\partition-generic.c |
Create Date:2022-07-28 17:21:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_drop_partitions
Proto:int blk_drop_partitions(struct gendisk *disk, struct block_device *bdev)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct gendisk * | disk | |
struct block_device * | bdev |
469 | If Not disk_part_scan_enabled(disk) Then Return 0 |
471 | If number of times partitions within this device have been opened. || bd_super Then Return -EBUSY |
473 | res = invalidate_partition(disk, 0) |
482 | Return 0 |
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 |