Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2017 13:37:00 +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-10@freebsd.org
Subject:   svn commit: r313093 - stable/10/sys/fs/tmpfs
Message-ID:  <201702021337.v12Db07T000532@repo.freebsd.org>

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



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