Mercurial > illumos > illumos-gate
changeset 12904:c3fa1a3c3799
6869194 zoneadm hanging on some local zone'ed systems
author | Dai Ngo <dai.ngo@sun.com> |
---|---|
date | Thu, 22 Jul 2010 19:44:38 -0700 |
parents | 2759f7cccf59 |
children | f5b5eba6d470 |
files | usr/src/uts/common/fs/autofs/auto_vnops.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/autofs/auto_vnops.c Thu Jul 22 18:25:06 2010 -0700 +++ b/usr/src/uts/common/fs/autofs/auto_vnops.c Thu Jul 22 19:44:38 2010 -0700 @@ -187,10 +187,13 @@ if (newvp == NULL) goto defattr; - if (error = vn_vfsrlock_wait(vp)) + if (error = vn_vfsrlock_wait(vp)) { + VN_RELE(newvp); return (error); + } vfsp = newvp->v_vfsp; + VN_RELE(newvp); } else { /* * Recursive auto_getattr/mount; go to the vfsp == NULL