The make release process tries to stat/open a non-existant device, which
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 18 Aug 2003 16:45:30 +0000 (16:45 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 18 Aug 2003 16:45:30 +0000 (16:45 +0000)
commit7732c8cd58d3b2eef6376f699779dea8993183d1
tree83f96e3bac3a1772332105ff3f2d9980c675244c
parent8f67f34f372b9cadc9e367e8ace0441743d88c0c
The make release process tries to stat/open a non-existant device, which
causes addalias() to be called with a NULL dev.  Add code to addaliasu()
to check that the device actually exists before trying to add the vnode to
its alias list.

Found by: ROBERT GARRETT <rg70@sbcglobal.net>, Jeffrey Hsu <hsu@FreeBSD.org>
sys/kern/vfs_subr.c