table of contents
other versions
- stretch 4.9.168-1
CHECK_DISK_SIZE_CHAN(9) | The Linux VFS | CHECK_DISK_SIZE_CHAN(9) |
NAME¶
check_disk_size_change - checks for disk size change and adjusts bdev size.SYNOPSIS¶
void check_disk_size_change(struct gendisk * disk, struct block_device * bdev);
ARGUMENTS¶
diskstruct gendisk to check
bdev
struct bdev to adjust.
DESCRIPTION¶
This routine checks to see if the bdev size does not match the disk size and adjusts it if it differs.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |