From a4d179efa98f7fd3a54d2cf056b1ab3d86f14d50 Mon Sep 17 00:00:00 2001 From: Dan McDonald Date: Tue, 2 Feb 2016 16:34:23 -0800 Subject: Illumos 6096 - ZFS_SMB_ACL_RENAME needs to cleanup better 6096 ZFS_SMB_ACL_RENAME needs to cleanup better Reviewed by: Matthew Ahrens Reviewed by: Gordon Ross Reviewed by: George Wilson Approved by: Robert Mustacchi References: https://www.illumos.org/issues/6096 https://github.com/illumos/illumos-gate/commit/8f5190a5 Ported-by: Brian Behlendorf --- module/zfs/zfs_ioctl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'module/zfs') diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index 003079902..746a3f0fc 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -4847,6 +4847,7 @@ zfs_ioc_smb_acl(zfs_cmd_t *zc) if ((error = get_nvlist(zc->zc_nvlist_src, zc->zc_nvlist_src_size, zc->zc_iflags, &nvlist)) != 0) { VN_RELE(vp); + VN_RELE(ZTOV(sharedir)); ZFS_EXIT(zsb); return (error); } -- cgit v1.2.3