On lookup error VFS expects *vpp to be set to NULL, be sure to do that.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2009-09-26 00:08:44 +00:00
parent a99aaff645
commit a0b238644a

View File

@ -898,6 +898,8 @@ domount:
}
mutex_exit(&sdp->sd_lock);
ZFS_EXIT(zfsvfs);
if (err != 0)
*vpp = NULL;
return (err);
}