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:
parent
a99aaff645
commit
a0b238644a
@ -898,6 +898,8 @@ domount:
|
||||
}
|
||||
mutex_exit(&sdp->sd_lock);
|
||||
ZFS_EXIT(zfsvfs);
|
||||
if (err != 0)
|
||||
*vpp = NULL;
|
||||
return (err);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user