Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2017 01:14:44 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r313076 - stable/11/sys/fs/tmpfs
Message-ID:  <201702020114.v121EiSM092236@repo.freebsd.org>

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



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