From c972b6d8df232d46b3281848b9eb2f232e4b8c8f Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Fri, 7 Jan 2005 10:57:33 +0000 Subject: [PATCH] The VFS_MOUNT() macro expects only 2 arguments in the nmount world (since revision 1.173 of src/sys/sys/mount.h). Update its prototype, the argument list description and bump the date. --- share/man/man9/VFS_MOUNT.9 | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/share/man/man9/VFS_MOUNT.9 b/share/man/man9/VFS_MOUNT.9 index 369a100dce26..97d85faa8d71 100644 --- a/share/man/man9/VFS_MOUNT.9 +++ b/share/man/man9/VFS_MOUNT.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 24, 1996 +.Dd January 7, 2005 .Os .Dt VFS_MOUNT 9 .Sh NAME @@ -39,29 +39,24 @@ .In sys/mount.h .In sys/vnode.h .Ft int -.Fn VFS_MOUNT "struct mount *mp" "char *path" "caddr_t data" "struct nameidata *ndp" "struct thread *td" +.Fn VFS_MOUNT "struct mount *mp" "struct thread *td" .Sh DESCRIPTION -Mount a file system into the system's namespace. +The +.Fn VFS_MOUNT +macro mounts a file system into the system's namespace or updates the +attributes of an already mounted file system. .Pp -Its arguments are: +The arguments it expects are: .Bl -tag -width data .It Fa mp Structure representing the file system. -.It Fa path -Pathname where the file system is being mounted. -.It Fa data -File system specific data. -This should be read into the kernel using -.Xr copyin 9 . -.It Fa ndp -Contains the result of a -.Xr namei 9 -call on the pathname of the mountpoint. .It Fa td Thread which is mounting the file system. .El .Pp -This is called both to mount new file systems and to change the +The +.Fn VFS_MOUNT +macro is called both to mount new file systems and to change the attributes of an existing file system. If the .Dv MNT_UPDATE