svn commit: r308259 - stable/11/sys/fs/nullfs

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Nov 3 15:01:24 UTC 2016


Author: trasz
Date: Thu Nov  3 15:01:23 2016
New Revision: 308259
URL: https://svnweb.freebsd.org/changeset/base/308259

Log:
  MFC r305834:
  
  Change the getnewvnode(9) tag for nullfs from "null" to "nullfs".
  It's more consistent, and besides, the "null" alone looks weird.
  
  MFC after:	1 month

Modified:
  stable/11/sys/fs/nullfs/null_subr.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/fs/nullfs/null_subr.c
==============================================================================
--- stable/11/sys/fs/nullfs/null_subr.c	Thu Nov  3 14:58:26 2016	(r308258)
+++ stable/11/sys/fs/nullfs/null_subr.c	Thu Nov  3 15:01:23 2016	(r308259)
@@ -238,7 +238,7 @@ null_nodeget(mp, lowervp, vpp)
 	 */
 	xp = malloc(sizeof(struct null_node), M_NULLFSNODE, M_WAITOK);
 
-	error = getnewvnode("null", mp, &null_vnodeops, &vp);
+	error = getnewvnode("nullfs", mp, &null_vnodeops, &vp);
 	if (error) {
 		vput(lowervp);
 		free(xp, M_NULLFSNODE);


More information about the svn-src-all mailing list