check_disk_size_change(9)

check_disk_size_change9

Checks for disk size change and adjusts bdev size.

Usage

void check_disk_size_change(struct gendisk * disk, struct block_device * bdev);

Arguments

disk

struct gendisk to check

bdev

struct bdev to adjust.

Overview

This routine checks to see if the bdev size does not match the disk size and adjusts it if it differs.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.