git: MFS - Fix mmap issues with files under MFS

看板DFBSD_commit作者時間16年前 (2009/09/01 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Ad4WYuR (DFBSD_commit)