aboutsummaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorAndrew Patterson <andrew.patterson@hp.com>2008-09-04 14:27:40 -0600
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 08:56:13 +0200
commit56ade44b46780fa291fa68b824f1dafdcb11b0ca (patch)
tree2232dc9a9e6b080428e4e6e0a32bcc7c83cc1731 /block/blk-core.c
parentf98a8cae12f2b2a8f9bfd7a53c990a1a405e880e (diff)
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 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions