Fix a bug in the last commit. The proc pointer can be NULL at the
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 20 Nov 2005 02:23:59 +0000 (02:23 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 20 Nov 2005 02:23:59 +0000 (02:23 +0000)
commit72a65e78d82a6edc424e06bb012a5bfc57d403ea
treee94b97610cc65019c7373b48eaa595d529ee3e97
parentb0e25abdfca1b2c1d15a60beea830cfb7b1b5df0
Fix a bug in the last commit.  The proc pointer can be NULL at the
point where we PHOLD it, conditionalize the hold/rele.

Reported-by: Sascha Wildner <saw@online.de>
sys/vfs/procfs/procfs_vnops.c