diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2008-09-04 14:27:40 -0600 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 08:56:13 +0200 |
commit | 56ade44b46780fa291fa68b824f1dafdcb11b0ca (patch) | |
tree | 2232dc9a9e6b080428e4e6e0a32bcc7c83cc1731 /drivers/scsi/fdomain.c | |
parent | f98a8cae12f2b2a8f9bfd7a53c990a1a405e880e (diff) | |
download | linux-stable-56ade44b46780fa291fa68b824f1dafdcb11b0ca.tar.gz linux-stable-56ade44b46780fa291fa68b824f1dafdcb11b0ca.tar.bz2 linux-stable-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/scsi/fdomain.c')
0 files changed, 0 insertions, 0 deletions