diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2008-09-04 22:27:40 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 08:56:13 +0200 |
commit | 56ade44b46780fa291fa68b824f1dafdcb11b0ca (patch) | |
tree | 2232dc9a9e6b080428e4e6e0a32bcc7c83cc1731 /drivers/pci/bus.c | |
parent | SCSI sd driver calls revalidate_disk wrapper. (diff) | |
download | linux-56ade44b46780fa291fa68b824f1dafdcb11b0ca.tar.xz linux-56ade44b46780fa291fa68b824f1dafdcb11b0ca.zip |
Added flush_disk to factor out common buffer cache flushing code.
We need to be able to flush the buffer cache for for more than
just when a disk is changed, so we factor out common cache flush code
in check_disk_change() to an internal flush_disk() routine. This
routine will then be used for both disk changes and disk resizes (in a
later patch).
Include the disk name in the text indicating that there are busy
inodes on the device and increase the KERN severity of the message.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/pci/bus.c')
0 files changed, 0 insertions, 0 deletions