svn commit: r305834 - head/sys/fs/nullfs

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Sep 15 13:57:38 UTC 2016


Author: trasz
Date: Thu Sep 15 13:57:37 2016
New Revision: 305834
URL: https://svnweb.freebsd.org/changeset/base/305834

Log:
  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:
  head/sys/fs/nullfs/null_subr.c

Modified: head/sys/fs/nullfs/null_subr.c
==============================================================================
--- head/sys/fs/nullfs/null_subr.c	Thu Sep 15 13:40:36 2016	(r305833)
+++ head/sys/fs/nullfs/null_subr.c	Thu Sep 15 13:57:37 2016	(r305834)
@@ -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