Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2016 13:57:37 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305834 - head/sys/fs/nullfs
Message-ID:  <201609151357.u8FDvb4r000198@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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