1CHECK_DISK_SIZE_CHAN(9) The Linux VFS CHECK_DISK_SIZE_CHAN(9)
23
4
NAME
6check_disk_size_change - checks for disk size change and adjusts bdev
7size.
8
SYNOPSIS
10void check_disk_size_change(struct gendisk * disk,
11struct block_device * bdev);
12
ARGUMENTS
14disk
15struct gendisk to check
1617
bdev
18struct bdev to adjust.
19
DESCRIPTION
21This routine checks to see if the bdev size does not match the disk
22size and adjusts it if it differs.
23
COPYRIGHT
25Kernel Hackers Manual 2.6. June 2019 CHECK_DISK_SIZE_CHAN(9)