Kernel: Change bf_free to tristate -- free, busy, superblock.
authorWill Sowerbutts <will@sowerbutts.com>
Mon, 26 Jan 2015 21:31:23 +0000 (21:31 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Mon, 26 Jan 2015 21:37:19 +0000 (21:37 +0000)
commitaffb88d7f440590ba0249ed56830d8dbd3550500
tree300af04227ce30e7cb7cc1841711108aa08958de
parentfabd0eff7abbe6d20788cf557f241f5fb545bad4
Kernel: Change bf_free to tristate -- free, busy, superblock.

Superblocks are never freed by bfree(). This allows the superblock to be
read by user space from the raw block device without being freed until
the filesystem is later unmounted.
Kernel/devio.c
Kernel/filesys.c
Kernel/include/kernel.h
Kernel/start.c
Kernel/syscall_other.c