Reviewed by: Paul Dagnelie <p...@delphix.com>
Reviewed by: Dan Kimmel <dan.kim...@delphix.com>
Reviewed by: Matt Ahrens <mahr...@delphix.com>

zfs.exists() in channel programs doesn't return any result, and should
have a man page entry. This patch corrects zcp.exists so that it
returns a value indicating if the dataset exists or not. It also adds
documentation about it in the man page.

Upstream Bugs: DLPX-50908
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/457

-- Commit Summary --

  * 8605 zfs channel programs: zcp.exists undocumented and non-working

-- File Changes --

    M usr/src/man/man1m/zfs-program.1m (11)
    M usr/src/pkg/manifests/system-test-zfstest.mf (5)
    A 
usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.ksh 
(45)
    A 
usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp 
(26)
    M usr/src/uts/common/fs/zfs/zcp.c (2)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/457.patch
https://github.com/openzfs/openzfs/pull/457.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/457

------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/Tf3b2a52794ff887a-M62417cc69f968368ac26cb4b
Powered by Topicbox: https://topicbox.com

Reply via email to