mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
On error, unbusy file system and jump to the end, so we won't try to unlock
NULL *vpp. Reviewed by: kib MFC after: 5 days
This commit is contained in:
parent
12dfb7a554
commit
f2f1ef00be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216631
|
@ -1144,6 +1144,8 @@ nfsrv_fhtovp(fhandle_t *fhp, int lockflag, struct vnode **vpp, int *vfslockedp,
|
|||
vput(*vpp);
|
||||
*vpp = NULL;
|
||||
error = NFSERR_AUTHERR | AUTH_TOOWEAK;
|
||||
vfs_unbusy(mp);
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue