svn commit: r313093 - stable/10/sys/fs/tmpfs

Konstantin Belousov kib at FreeBSD.org
Thu Feb 2 13:37:01 UTC 2017


Author: kib
Date: Thu Feb  2 13:37:00 2017
New Revision: 313093
URL: https://svnweb.freebsd.org/changeset/base/313093

Log:
  MFC r312429:
  VNON nodes cannot exist.

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

Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c
==============================================================================
--- stable/10/sys/fs/tmpfs/tmpfs_subr.c	Thu Feb  2 13:36:07 2017	(r313092)
+++ stable/10/sys/fs/tmpfs/tmpfs_subr.c	Thu Feb  2 13:37:00 2017	(r313093)
@@ -332,11 +332,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-stable-10 mailing list