check_disk_size_change

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

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.