Checks for disk size change and adjusts bdev size.
void check_disk_size_change(struct gendisk * disk, struct block_device * bdev);
disk
struct gendisk to check
bdev
struct bdev to adjust.
This routine checks to see if the bdev size does not match the disk size and adjusts it if it differs.