Make sure ntfs_lookup() has the correct side effects by ensuring that
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 24 Dec 2004 04:47:06 +0000 (04:47 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 24 Dec 2004 04:47:06 +0000 (04:47 +0000)
commit9df3a1842dfe1d6ba1bc42b3f7fc7a7dfd0eeb27
treebabfab3dcb78485b6f929800a309a20aaf66ae0a
parent1694af7d84e21e8058382443876a891cf2a73d87
Make sure ntfs_lookup() has the correct side effects by ensuring that
*vpp is NULLd out if a non-zero return occurs.

Reported-by: Dmitri Nikulin <dnikulin@optusnet.com.au>
sys/vfs/ntfs/ntfs_vnops.c