From owner-svn-src-all@FreeBSD.ORG Thu Jan 24 23:11:52 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D514AE08; Thu, 24 Jan 2013 23:11:52 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C3027D7B; Thu, 24 Jan 2013 23:11:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0ONBqGH023631; Thu, 24 Jan 2013 23:11:52 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0ONBqFE023628; Thu, 24 Jan 2013 23:11:52 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201301242311.r0ONBqFE023628@svn.freebsd.org> From: Sergey Kandaurov Date: Thu, 24 Jan 2013 23:11:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245894 - in head: share/man/man9 sys/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 23:11:52 -0000 Author: pluknet Date: Thu Jan 24 23:11:51 2013 New Revision: 245894 URL: http://svnweb.freebsd.org/changeset/base/245894 Log: Update and clarify comments regarding VFS op table initialization in the man page and its header counterpart. Submitted by: Christoph Mallon (initial version) Reviewed and further improved by: bde (previous version) All bugs are: mine Modified: head/share/man/man9/VFS_SET.9 head/sys/sys/mount.h Modified: head/share/man/man9/VFS_SET.9 ============================================================================== --- head/share/man/man9/VFS_SET.9 Thu Jan 24 20:47:37 2013 (r245893) +++ head/share/man/man9/VFS_SET.9 Thu Jan 24 23:11:51 2013 (r245894) @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 22, 2012 +.Dd January 25, 2012 .Dt VFS_SET 9 .Os .Sh NAME @@ -84,7 +84,9 @@ sysctl is set to .Sh PSEUDOCODE .Bd -literal /* - * fill in the ones we use, and use the vfs_std for the rest. + * Fill in the ones we redefine. The unused fields will be + * automatically initialized by pointers to vfs_std* functions + * during file system registration. */ static struct vfsops myfs_vfsops = { .vfs_mount = myfs_mount, Modified: head/sys/sys/mount.h ============================================================================== --- head/sys/sys/mount.h Thu Jan 24 20:47:37 2013 (r245893) +++ head/sys/sys/mount.h Thu Jan 24 23:11:51 2013 (r245894) @@ -762,8 +762,9 @@ extern struct nfs_public nfs_pub; /* * Declarations for these vfs default operations are located in - * kern/vfs_default.c, they should be used instead of making "dummy" - * functions or casting entries in the VFS op table to "enopnotsupp()". + * kern/vfs_default.c. They will be automatically used to replace + * null entries in VFS ops tables when registering a new filesystem + * type in the global table. */ vfs_root_t vfs_stdroot; vfs_quotactl_t vfs_stdquotactl;