summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-02-02 13:37:00 +0000
committerkib <kib@FreeBSD.org>2017-02-02 13:37:00 +0000
commit8e8dc36bf7469efa47843d7f09f824e475319000 (patch)
tree64ce1df305037d96f137d9df966402e94659d1d6
parent5a7588aafe7158db9d13f570db546f5e6ab45186 (diff)
downloadFreeBSD-src-8e8dc36bf7469efa47843d7f09f824e475319000.zip
FreeBSD-src-8e8dc36bf7469efa47843d7f09f824e475319000.tar.gz
MFC r312429:
VNON nodes cannot exist.
-rw-r--r--sys/fs/tmpfs/tmpfs_subr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c
index a4fa168..9cefba3 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:
OpenPOWER on IntegriCloud