From: Andrew Patterson Date: Thu, 4 Sep 2008 20:27:25 +0000 (-0600) Subject: Adjust block device size after an online resize of a disk. X-Git-Tag: v2.6.28-rc1~733^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3279d1454cdfed02a557d789d8a6d08ab4cbe70;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed