7990 libzfs: snapspec_cb() does not need to call zfs_strdup()

Review Request #409 - Created March 21, 2017 and submitted

Information
Marcel Telka
illumos-gate
master
7990
582dea4...
Reviewers
general
The snapspec_cb() callback function in libzfs does not need to call
zfs_strdup().
I called zfs_iter_snapspec() with "%" as the spec_orig to make sure it still
works as expected and there is no regression.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Toomas Soome
Yuri Pankov
Marcel Telka
Yuri Pankov
Toomas Soome
Marcel Telka
Review request changed

Status: Closed (submitted)

Change Summary:

commit d8584ba6fb7a5e46da1725845b99ae5fab5a4baf
Author:     Marcel Telka <marcel@telka.sk>
AuthorDate: Tue Mar 21 10:31:27 2017 +0100
Commit:     Matthew Ahrens <mahrens@delphix.com>
CommitDate: Tue Mar 21 17:01:07 2017 -0700

    7990 libzfs: snapspec_cb() does not need to call zfs_strdup()
    Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Matthew Ahrens <mahrens@delphix.com>

:100644 100644 91ae6f3... f5ac68f... M	usr/src/lib/libzfs/common/libzfs_iter.c
Loading...