commit | 9bc3ffbfbdf71fefda8a261ef8d6fdc388a29b42 | [log] [tgz] |
---|---|---|
author | Andrew Patterson <andrew.patterson@hp.com> | Thu Sep 04 14:27:30 2008 -0600 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Oct 09 08:56:12 2008 +0200 |
tree | c6f4ffdb3351a379fc5aee8fd6f91ba6caee83d0 | |
parent | c3279d1454cdfed02a557d789d8a6d08ab4cbe70 [diff] |
Check for device resize when rescanning partitions Check for device resize in the rescan_partitions() routine. If the device has been resized, the bdev size is set to match. The rescan_partitions() routine is called when opening the device and when calling the BLKRRPART ioctl. Signed-off-by: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>