Remove an assertion that used to double-check the cred passed into vn_open().
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 5 Nov 2004 18:43:20 +0000 (18:43 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 5 Nov 2004 18:43:20 +0000 (18:43 +0000)
commit20335710436bb4dafa3cec559aa1c777f2b738f5
tree767050b2dba7821fa61fc9f52b3242cc22b4c150
parent4ca67844bd4512cb0088c4fc84df17aaee77a847
Remove an assertion that used to double-check the cred passed into vn_open().
The assertion is no longer needed as the cred is allowed to be different,
and vn_open() may not be called from a process any more.  In particular,
vn_open() may be called from the NDIS driver to open a firmware image file.

Reported-by: Andrew Atrens <atrens@nortelnetworks.com>
sys/kern/vfs_vnops.c