svn commit: r312429 - head/sys/fs/tmpfs
Konstantin Belousov
kib at FreeBSD.org
Thu Jan 19 19:25:43 UTC 2017
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:
More information about the svn-src-head
mailing list