mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
"The releaseing of the reference and lock is not temporary and belongs
where it is. The reference and lock(s) are acquired just above the code in VREF() and relookup()." Submitted by: Michael Hancock <michaelh@cet.co.jp>
This commit is contained in:
parent
55d80b2df1
commit
f01beb610a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38292
@ -475,7 +475,6 @@ abortit:
|
||||
return (ENOENT);
|
||||
}
|
||||
error = VOP_REMOVE(fdvp, fvp, fcnp);
|
||||
/* XXX - temporarily preserve previous behavior */
|
||||
if (fdvp == fvp)
|
||||
vrele(fdvp);
|
||||
else
|
||||
|
@ -475,7 +475,6 @@ abortit:
|
||||
return (ENOENT);
|
||||
}
|
||||
error = VOP_REMOVE(fdvp, fvp, fcnp);
|
||||
/* XXX - temporarily preserve previous behavior */
|
||||
if (fdvp == fvp)
|
||||
vrele(fdvp);
|
||||
else
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ufs_vnops.c 8.27 (Berkeley) 5/27/95
|
||||
* $Id: ufs_vnops.c,v 1.97 1998/07/27 15:37:00 bde Exp $
|
||||
* $Id: ufs_vnops.c,v 1.98 1998/08/12 20:46:47 julian Exp $
|
||||
*/
|
||||
|
||||
#include "opt_quota.h"
|
||||
@ -964,7 +964,6 @@ abortit:
|
||||
return (ENOENT);
|
||||
}
|
||||
error = VOP_REMOVE(fdvp, fvp, fcnp);
|
||||
/* XXX - temporarily simulate previous rele behavior */
|
||||
if (fdvp == fvp)
|
||||
vrele(fdvp);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user