diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2008-09-04 20:27:25 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 06:56:12 (GMT) |
commit | c3279d1454cdfed02a557d789d8a6d08ab4cbe70 (patch) | |
tree | 2591c7c0886f9b6b63aa40e3ef3caa984370c38b /fs/eventfd.c | |
parent | 0c002c2f74e10baa9021d3ecc50585c6eafea568 (diff) | |
download | linux-c3279d1454cdfed02a557d789d8a6d08ab4cbe70.tar.xz |
Adjust block device size after an online resize of a disk.
The revalidate_disk routine now checks if a disk has been resized by
comparing the gendisk capacity to the bdev inode size. If they are
different (usually because the disk has been resized underneath the kernel)
the bdev inode size is adjusted to match the capacity.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions