"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
@ -475,7 +475,6 @@ ext2_rename(ap)
|
||||
return (ENOENT);
|
||||
}
|
||||
error = VOP_REMOVE(fdvp, fvp, fcnp);
|
||||
/* XXX - temporarily preserve previous behavior */
|
||||
if (fdvp == fvp)
|
||||
vrele(fdvp);
|
||||
else
|
||||
|
@ -475,7 +475,6 @@ ext2_rename(ap)
|
||||
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 @@ ufs_rename(ap)
|
||||
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