Skip to content

Commit a4d179e

Browse files
Dan McDonaldbehlendorf
authored andcommitted
Illumos 6096 - ZFS_SMB_ACL_RENAME needs to cleanup better
6096 ZFS_SMB_ACL_RENAME needs to cleanup better Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: George Wilson <gwilson@zfsmail.com> Approved by: Robert Mustacchi <rm@joyent.com> References: https://www.illumos.org/issues/6096 illumos/illumos-gate@8f5190a5 Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
1 parent b77222c commit a4d179e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

module/zfs/zfs_ioctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4847,6 +4847,7 @@ zfs_ioc_smb_acl(zfs_cmd_t *zc)
48474847
if ((error = get_nvlist(zc->zc_nvlist_src,
48484848
zc->zc_nvlist_src_size, zc->zc_iflags, &nvlist)) != 0) {
48494849
VN_RELE(vp);
4850+
VN_RELE(ZTOV(sharedir));
48504851
ZFS_EXIT(zsb);
48514852
return (error);
48524853
}

0 commit comments

Comments
 (0)