`zpool get guid,freeing,leaked` shows SOURCE as `default`, it should be `-` as 
those props are not editable.
Changed code to not overwrite `src` for `ZPOOL_PROP_VERSION`, so it stays 
`ZPROP_SRC_NONE`.

Was built successfully on ZFS on Linux' buildbot, see 
https://github.com/zfsonlinux/zfs/pull/4170.
However, I could not test it yet, neither on Linux nor on an illumos-based 
distribution.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix "zpool get guid,freeing,leaked" source

-- File Changes --

    M usr/src/uts/common/fs/zfs/spa.c (12)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/53
_______________________________________________
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to