aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2017-10-01 16:51:05 +0000
committerAndriy Gapon <avg@FreeBSD.org>2017-10-01 16:51:05 +0000
commit3e52a0557016274d28435293f859ca4a31a156d9 (patch)
treec2287ffa1e94be9624a939c186aa15500eda9221 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c
parent0bd904ed4730e481c5ad0dffc27794ec6ac70cfc (diff)
parentde90fd216825a6aa001663d4e64eab0374b15933 (diff)
downloadsrc-3e52a0557016274d28435293f859ca4a31a156d9.tar.gz
src-3e52a0557016274d28435293f859ca4a31a156d9.zip
MFV r323794: 8605 zfs channel programs: zfs.exists undocumented and non-working
illumos/illumos-gate@5f39f884e2035d671ec02148fc4d8420c670bcb4 https://github.com/illumos/illumos-gate/commit/5f39f884e2035d671ec02148fc4d8420c670bcb4 https://www.illumos.org/issues/8605 zfs.exists() in channel programs doesn't return any result, and should have a man page entry. Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: Chris Williamson <chris.williamson@delphix.com> MFC after: 5 weeks X-MFC after: r324163
Notes
Notes: svn path=/head/; revision=324170
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c
index e0c39a819fbf..0d8e16fbee8f 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c
@@ -717,7 +717,7 @@ zcp_exists(lua_State *state)
return (luaL_error(state, "unexpected error %d", error));
}
- return (0);
+ return (1);
}
/*