MFS - Fix mmap issues with files under MFS
commit21f197f54ff2ce41eb732ecf21edf773244a6c29
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 31 Aug 2009 21:52:08 +0000 (31 14:52 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 31 Aug 2009 21:52:08 +0000 (31 14:52 -0700)
tree8e9b2d997ff529ca8cd0baae1d80a11982ba22a4
parent17e222387b579632e39c1d8f31594c224cd6606c
MFS - Fix mmap issues with files under MFS

* MFS relied on specfs to supply a getpages function.  specfs no longer
  exists and MFS's constructed vnode did not point at devfs.

  Instead of synthesizing a vnode access the real devfs vnode associated
  with /dev/mfs%d.

* Remove the MFS vnops for its synthesized vnode.  MFS now uses a devfs
  vnode which uses the devfs vnops.

Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>:
sys/conf/files
sys/vfs/mfs/Makefile
sys/vfs/mfs/mfs_extern.h
sys/vfs/mfs/mfs_vfsops.c
sys/vfs/mfs/mfs_vnops.c [deleted file]
sys/vfs/mfs/mfsnode.h