]> Zhao Yanbai Git Server - minix.git/commit
VFS: split block, character device handling 46/3346/1
authorDavid van Moolenbroek <david@minix3.org>
Mon, 11 Jan 2016 18:33:53 +0000 (18:33 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Fri, 5 Aug 2016 11:16:30 +0000 (11:16 +0000)
commit89a4204b834be50e122142546a0287cd5586c9d6
tree8c11c97967ce74ed90f2733d8b16bae4153cacd9
parent232819dd499bd777897c6a4ee3a77009ce269db9
VFS: split block, character device handling

All functions prefixed with bdev_ are moved into bdev.c, and those
prefixed with cdev_ are now in cdev.c.  The code in both files are
converted to KNF.  The little (IOCTL-related) code left in device.c
is also cleaned up but should probably be moved into other existing
source files.  This is left to a future patch.  In general, VFS is
long overdue for a source code rebalancing, and the patch here is
only a step in the right direction.

Change-Id: I2fb25734b5778b44f2ff6d2ce331a8e2146e20b0
minix/servers/vfs/Makefile
minix/servers/vfs/bdev.c [new file with mode: 0644]
minix/servers/vfs/cdev.c [new file with mode: 0644]
minix/servers/vfs/device.c
minix/servers/vfs/proto.h