From: Andrew Patterson Date: Thu, 4 Sep 2008 20:27:40 +0000 (-0600) Subject: Added flush_disk to factor out common buffer cache flushing code. X-Git-Tag: v2.6.28-rc1~733^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56ade44b46780fa291fa68b824f1dafdcb11b0ca;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed