Function report |
Source Code:fs\block_dev.c |
Create Date:2022-07-28 20:14:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:haw_bdev -- unlock filesystem*@bdev: blockdevice to unlock*@sb: associated superblock* Unlocks the filesystem and marks it writeable again after freeze_bdev().
Proto:int thaw_bdev(struct block_device *bdev, struct super_block *sb)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct block_device * | bdev | |
| struct super_block * | sb |
| 584 | mutex_lock( & Mutex for freeze ) |
| 585 | If Not The counter of freeze processes Then Go to out |
| 588 | error = 0 |
| 589 | If -- The counter of freeze processes > 0 Then Go to out |
| 595 | If thaw_super Then error = thaw_super(sb) |
| 597 | Else error = thaw_super(sb) |
| 599 | If error Then The counter of freeze processes ++ |
| 601 | out : |
| 603 | Return error |
| Name | Describe |
|---|---|
| emergency_thaw_bdev |
| 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 |