| Function report | 
| Source Code: fs\block_dev.c | Create Date:2022-07-28 20:14:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:This routine checks whether a removable media has been changed,* and invalidates all buffer-cache-entries in that case. This* is a relatively slow routine, so we have to try to minimize using* it. Thus it is called only upon a 'mount' or 'open'. This
Proto:int check_disk_change(struct block_device *bdev)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct block_device * | bdev | 
| 1490 | If Not (events & DISK_EVENT_MEDIA_CHANGE) Then Return 0 | 
| 1494 | If revalidate_disk Then revalidate_disk(bd_disk) | 
| 1496 | Return 1 | 
| 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 |