]> git.proxmox.com Git - mirror_zfs.git/commit
Fix "zpool get guid,freeing,leaked" source
authorHajo Möller <dasjoe@gmail.com>
Tue, 5 Jan 2016 21:46:54 +0000 (22:46 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 30 Aug 2016 22:57:15 +0000 (15:57 -0700)
commit82ab6848ccff8fa42da56a2b5c74c767f8ad8fb0
treeabc64a8aa9a0f856e4b63c67145b09c98a86a504
parent8fe453b6718c089fdd248f45fd0adee26bd42b66
Fix "zpool get guid,freeing,leaked" source

`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`.  Make src const to avoid future mistakes

Signed-off-by: Hajo Möller <dasjoe@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4170
module/zfs/spa.c