Remove accidental pollution unrelated to previous commit. The issue

here is real but has not yet been discussed with Eivind.
This commit is contained in:
Matthew Dillon 1999-12-12 03:28:14 +00:00
parent 588a09b4fb
commit 3854a87ef3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54469
2 changed files with 2 additions and 4 deletions

View File

@ -1307,8 +1307,7 @@ symlink(p, uap)
vput(nd.ni_vp);
vput(nd.ni_dvp);
ASSERT_VOP_UNLOCKED(nd.ni_dvp, "symlink");
if (error == 0)
ASSERT_VOP_UNLOCKED(nd.ni_vp, "symlink");
ASSERT_VOP_UNLOCKED(nd.ni_vp, "symlink");
out:
zfree(namei_zone, path);
return (error);

View File

@ -1307,8 +1307,7 @@ symlink(p, uap)
vput(nd.ni_vp);
vput(nd.ni_dvp);
ASSERT_VOP_UNLOCKED(nd.ni_dvp, "symlink");
if (error == 0)
ASSERT_VOP_UNLOCKED(nd.ni_vp, "symlink");
ASSERT_VOP_UNLOCKED(nd.ni_vp, "symlink");
out:
zfree(namei_zone, path);
return (error);