mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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
(cherry picked from commit cb69621249)
This commit is contained in:
parent
ce94bedf47
commit
e681d7d702
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Reference in a new issue