From e8ebec1e902a102571df2e34c74ef20931683739 Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 2 Feb 2017 13:37:00 +0000 Subject: [PATCH] MFC r312429: VNON nodes cannot exist. git-svn-id: svn://svn.freebsd.org/base/stable/10@313093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/fs/tmpfs/tmpfs_subr.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c index a4fa16883..9cefba3e9 100644 --- a/sys/fs/tmpfs/tmpfs_subr.c +++ b/sys/fs/tmpfs/tmpfs_subr.c @@ -332,11 +332,6 @@ tmpfs_free_node_locked(struct tmpfs_mount *tmp, struct tmpfs_node *node, 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: -- 2.45.0