Query: check_disk_size_change
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CHECK_DISK_SIZE_CHAN(9) The Linux VFS CHECK_DISK_SIZE_CHAN(9)NAMEcheck_disk_size_change - checks for disk size change and adjusts bdev size.SYNOPSISvoid check_disk_size_change(struct gendisk * disk, struct block_device * bdev);ARGUMENTSdisk struct gendisk to check bdev struct bdev to adjust.DESCRIPTIONThis routine checks to see if the bdev size does not match the disk size and adjusts it if it differs.COPYRIGHTKernel Hackers Manual 3.10 June 2014 CHECK_DISK_SIZE_CHAN(9)