git: MFS - Fix mmap issues with files under MFS

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 31 14:56:06 PDT 2009


commit 21f197f54ff2ce41eb732ecf21edf773244a6c29
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 31 14:52:08 2009 -0700

    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 at mail.dk>:

Summary of changes:
 sys/conf/files           |    1 -
 sys/vfs/mfs/Makefile     |    2 +-
 sys/vfs/mfs/mfs_extern.h |    1 -
 sys/vfs/mfs/mfs_vfsops.c |  190 ++++++++++++++++-----
 sys/vfs/mfs/mfs_vnops.c  |  436 ----------------------------------------------
 sys/vfs/mfs/mfsnode.h    |    7 -
 6 files changed, 149 insertions(+), 488 deletions(-)
 delete mode 100644 sys/vfs/mfs/mfs_vnops.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/21f197f54ff2ce41eb732ecf21edf773244a6c29


-- 
DragonFly BSD source repository





More information about the Commits mailing list