devio: Fix the long standing buffer flushing FIXME
authorAlan Cox <alan@linux.intel.com>
Fri, 15 May 2015 23:47:58 +0000 (00:47 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 15 May 2015 23:47:58 +0000 (00:47 +0100)
commitce1b0f4f1a184ca2813a3c7e95d32a0f2241917b
treec1abc85b741ad9e20309e18a95842d7c2ec04bb6
parentebcadf9bd534354bc2fe93a7b96f5c3d5b7e5b08
devio: Fix the long standing buffer flushing FIXME

We now drop buffers on the final close of a device. This makes mounting
different floppy disks work reliably.
Kernel/devio.c
Kernel/include/kernel.h