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:
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to