]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
SCSI sd driver calls revalidate_disk wrapper.
authorAndrew Patterson <andrew.patterson@hp.com>
Thu, 4 Sep 2008 20:27:35 +0000 (14:27 -0600)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:13 +0000 (08:56 +0200)
commitf98a8cae12f2b2a8f9bfd7a53c990a1a405e880e
tree3fcfd762a5841b8cbc5ab0987da8da3ee37a9201
parent9bc3ffbfbdf71fefda8a261ef8d6fdc388a29b42
SCSI sd driver calls revalidate_disk wrapper.

Modify the SCSI disk driver to call the revalidate_disk()
wrapper. This allows us to do some housekeeping such as accounting for
a disk being resized online. The wrapper will call
sd_revalidate_disk() at the appropriate time.

Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/sd.c