DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: MFS - Fix mmap issues with files under MFS


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Aug 2009 14:54:45 -0700 (PDT)

commit 21f197f54ff2ce41eb732ecf21edf773244a6c29
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]