MFC rev. 1.166:
Fix leak in NAMEI zone caused by nfs server when VOP_RENAME fails. Approved by: re (hrs)
This commit is contained in:
parent
88233f85f8
commit
e83da74386
@ -2532,8 +2532,8 @@ out:
|
||||
tond.ni_dvp = NULL;
|
||||
tond.ni_vp = NULL;
|
||||
if (error) {
|
||||
fromnd.ni_cnd.cn_flags &= ~HASBUF;
|
||||
tond.ni_cnd.cn_flags &= ~HASBUF;
|
||||
NDFREE(&fromnd, NDF_ONLY_PNBUF);
|
||||
NDFREE(&tond, NDF_ONLY_PNBUF);
|
||||
}
|
||||
} else {
|
||||
if (error == -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user