diff options
author | Matthew Ahrens <mahrens@delphix.com> | 2014-06-27 08:48:24 -0800 |
---|---|---|
committer | Christopher Siden <chris@delphix.com> | 2014-06-27 09:48:25 -0700 |
commit | b461c7460e5e77cf65f00151162e654220c6e2fb (patch) | |
tree | 72a8aa7508dcdb34909144885ae3cc20dbc8b8d5 /usr/src/common/zfs | |
parent | b8289d24d866c1af02d7007348f7f057693c15d3 (diff) | |
download | illumos-gate-b461c7460e5e77cf65f00151162e654220c6e2fb.tar.gz |
4929 want prevsnap property
Reviewed by: Adam Leventhal <adam.leventhal@delphix.com>
Reviewed by: Matt Amdur <matt.amdur@delphix.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Boris Protopopov <bprotopopov@hotmail.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/common/zfs')
-rw-r--r-- | usr/src/common/zfs/zfs_prop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/common/zfs/zfs_prop.c b/usr/src/common/zfs/zfs_prop.c index 7c12d6f3f4..0b4927243f 100644 --- a/usr/src/common/zfs/zfs_prop.c +++ b/usr/src/common/zfs/zfs_prop.c @@ -423,6 +423,8 @@ zfs_prop_init(void) PROP_READONLY, ZFS_TYPE_DATASET, "OBJSETID"); zprop_register_hidden(ZFS_PROP_INCONSISTENT, "inconsistent", PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_DATASET, "INCONSISTENT"); + zprop_register_hidden(ZFS_PROP_PREV_SNAP, "prevsnap", PROP_TYPE_STRING, + PROP_READONLY, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, "PREVSNAP"); /* oddball properties */ zprop_register_impl(ZFS_PROP_CREATION, "creation", PROP_TYPE_NUMBER, 0, |