msdosfs: fix double unlock if the source file disappears
We would unlock fvp here, only to unlock it again below, just before "bad". Reviewed By: kib Tested by: pho Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D27339
This commit is contained in:
parent
10328f8b11
commit
cb69621249
@ -1139,7 +1139,6 @@ abortit:
|
||||
if (xp != ip) {
|
||||
if (doingdirectory)
|
||||
panic("rename: lost dir entry");
|
||||
VOP_UNLOCK(fvp);
|
||||
if (newparent)
|
||||
VOP_UNLOCK(fdvp);
|
||||
vrele(ap->a_fvp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user