Mercurial > illumos > git > illumos-omnios
changeset 23902:deb4016895be
13388 ZFS list bookmark not working on zvols
Reviewed by: Andy Fiddaman <andy@omnios.org>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Jason King <jason.king@joyent.com>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
author | loli10K <ezomori.nozomu@gmail.com> |
---|---|
date | Wed, 23 Dec 2020 17:23:44 +0000 |
parents | 6f836ae592a5 |
children | a87c414f8206 |
files | usr/src/cmd/zfs/zfs_iter.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/zfs/zfs_iter.c Wed Dec 16 15:08:40 2020 +0000 +++ b/usr/src/cmd/zfs/zfs_iter.c Wed Dec 23 17:23:44 2020 +0000 @@ -445,13 +445,13 @@ /* * If we're recursive, then we always allow filesystems as - * arguments. If we also are interested in snapshots, then we - * can take volumes as well. + * arguments. If we also are interested in snapshots or + * bookmarks, then we can take volumes as well. */ argtype = types; if (flags & ZFS_ITER_RECURSE) { argtype |= ZFS_TYPE_FILESYSTEM; - if (types & ZFS_TYPE_SNAPSHOT) + if (types & (ZFS_TYPE_SNAPSHOT | ZFS_TYPE_BOOKMARK)) argtype |= ZFS_TYPE_VOLUME; }