Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2001 13:00:18 -0800 (PST)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/linprocfs linprocfs_vfsops.c src/sys/compat/linux linux_file.c src/sys/fs/devfs devfs_vfsops.c src/sys/fs/hpfs hpfs_vfsops.c src/sys/gnu/ext2fs ext2_vfsops.c src/sys/isofs/cd9660 cd9660_vfsops.c src/sys/kern vfs_conf.c ...
Message-ID:  <200103012100.f21L0JA81434@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
adrian      2001/03/01 13:00:18 PST

  Modified files:
    sys/compat/linprocfs linprocfs_vfsops.c 
    sys/compat/linux     linux_file.c 
    sys/fs/devfs         devfs_vfsops.c 
    sys/fs/hpfs          hpfs_vfsops.c 
    sys/gnu/ext2fs       ext2_vfsops.c 
    sys/isofs/cd9660     cd9660_vfsops.c 
    sys/kern             vfs_conf.c vfs_syscalls.c 
    sys/miscfs/fdesc     fdesc_vfsops.c 
    sys/miscfs/nullfs    null_vfsops.c 
    sys/miscfs/portal    portal_vfsops.c 
    sys/miscfs/umapfs    umap_vfsops.c 
    sys/miscfs/union     union_vfsops.c 
    sys/msdosfs          msdosfs_vfsops.c 
    sys/nfs              nfs_vfsops.c 
    sys/ntfs             ntfs_vfsops.c 
    sys/nwfs             nwfs_vfsops.c 
    sys/sys              mount.h 
    sys/ufs/ffs          ffs_vfsops.c 
  Log:
  Reviewed by:	jlemon
  
  An initial tidyup of the mount() syscall and VFS mount code.
  
  This code replaces the earlier work done by jlemon in an attempt to
  make linux_mount() work.
  
  * the guts of the mount work has been moved into vfs_mount().
  
  * move `type', `path' and `flags' from being userland variables into being
    kernel variables in vfs_mount(). `data' remains a pointer into
    userspace.
  
  * Attempt to verify the `type' and `path' strings passed to vfs_mount()
    aren't too long.
  
  * rework mount() and linux_mount() to take the userland parameters
    (besides data, as mentioned) and pass kernel variables to vfs_mount().
    (linux_mount() already did this, I've just tidied it up a little more.)
  
  * remove the copyin*() stuff for `path'. `data' still requires copyin*()
    since its a pointer into userland.
  
  * set `mount->mnt_statf_mntonname' in vfs_mount() rather than in each
    filesystem.  This variable is generally initialised with `path', and
    each filesystem can override it if they want to.
  
  * NOTE: f_mntonname is intiailised with "/" in the case of a root mount.
  
  Revision  Changes    Path
  1.7       +1 -4      src/sys/compat/linprocfs/linprocfs_vfsops.c
  1.52      +18 -17    src/sys/compat/linux/linux_file.c
  1.12      +1 -9      src/sys/fs/devfs/devfs_vfsops.c
  1.11      +6 -10     src/sys/fs/hpfs/hpfs_vfsops.c
  1.77      +12 -6     src/sys/gnu/ext2fs/ext2_vfsops.c
  1.85      +1 -3      src/sys/isofs/cd9660/cd9660_vfsops.c
  1.58      +9 -1      src/sys/kern/vfs_conf.c
  1.180     +67 -29    src/sys/kern/vfs_syscalls.c
  1.24      +1 -4      src/sys/miscfs/fdesc/fdesc_vfsops.c
  1.44      +1 -3      src/sys/miscfs/nullfs/null_vfsops.c
  1.28      +1 -3      src/sys/miscfs/portal/portal_vfsops.c
  1.34      +1 -3      src/sys/miscfs/umapfs/umap_vfsops.c
  1.43      +1 -4      src/sys/miscfs/union/union_vfsops.c
  1.72      +1 -4      src/sys/msdosfs/msdosfs_vfsops.c
  1.94      +3 -7      src/sys/nfs/nfs_vfsops.c
  1.28      +6 -10     src/sys/ntfs/ntfs_vfsops.c
  1.13      +1 -4      src/sys/nwfs/nwfs_vfsops.c
  1.102     +3 -2      src/sys/sys/mount.h
  1.139     +2 -3      src/sys/ufs/ffs/ffs_vfsops.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103012100.f21L0JA81434>