svn commit: r313076 - stable/11/sys/fs/tmpfs

Konstantin Belousov kib at FreeBSD.org
Thu Feb 2 01:14:45 UTC 2017


Author: kib
Date: Thu Feb  2 01:14:44 2017
New Revision: 313076
URL: https://svnweb.freebsd.org/changeset/base/313076

Log:
  MFC r312429:
  VNON nodes cannot exist.

Modified:
  stable/11/sys/fs/tmpfs/tmpfs_subr.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/fs/tmpfs/tmpfs_subr.c
==============================================================================
--- stable/11/sys/fs/tmpfs/tmpfs_subr.c	Thu Feb  2 01:11:49 2017	(r313075)
+++ stable/11/sys/fs/tmpfs/tmpfs_subr.c	Thu Feb  2 01:14:44 2017	(r313076)
@@ -333,11 +333,6 @@ tmpfs_free_node_locked(struct tmpfs_moun
 	TMPFS_UNLOCK(tmp);
 
 	switch (node->tn_type) {
-	case VNON:
-		/* Do not do anything.  VNON is provided to let the
-		 * allocation routine clean itself easily by avoiding
-		 * duplicating code in it. */
-		/* FALLTHROUGH */
 	case VBLK:
 		/* FALLTHROUGH */
 	case VCHR:


More information about the svn-src-all mailing list