Author: kib
Date: Thu Jan 19 19:25:42 2017
New Revision: 312429
URL: https://svnweb.freebsd.org/changeset/base/312429

Log:
  VNON nodes cannot exist.
  
  Tested by:    pho (as part of larger patch)
  Sponsored by: The FreeBSD Foundation
  MFC after:    2 weeks

Modified:
  head/sys/fs/tmpfs/tmpfs_subr.c

Modified: head/sys/fs/tmpfs/tmpfs_subr.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_subr.c      Thu Jan 19 19:15:21 2017        
(r312428)
+++ head/sys/fs/tmpfs/tmpfs_subr.c      Thu Jan 19 19:25:42 2017        
(r312429)
@@ -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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to