Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2017 07:27:45 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r323794 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor/illumos/dist/man/man1m
Message-ID:  <201709200727.v8K7RjL1007766@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Wed Sep 20 07:27:45 2017
New Revision: 323794
URL: https://svnweb.freebsd.org/changeset/base/323794

Log:
  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>

Modified:
  vendor-sys/illumos/dist/uts/common/fs/zfs/zcp.c

Changes in other areas also in this revision:
Modified:
  vendor/illumos/dist/man/man1m/zfs-program.1m

Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/zcp.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/zcp.c	Wed Sep 20 07:26:52 2017	(r323793)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/zcp.c	Wed Sep 20 07:27:45 2017	(r323794)
@@ -710,7 +710,7 @@ zcp_exists(lua_State *state)
 		return (luaL_error(state, "unexpected error %d", error));
 	}
 
-	return (0);
+	return (1);
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709200727.v8K7RjL1007766>