check_disk_size_change
Prev | Other Functions | Next

## 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

`disk`

  struct 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.

Prev | Up | Next
bd_unlink_disk_holder | Home | revalidate_disk