diff options
author | Brian Behlendorf <[email protected]> | 2019-04-08 09:14:45 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2019-04-08 09:14:45 -0700 |
commit | c375c69ecad41f68610ad1186355822e28744476 (patch) | |
tree | 98b7a521b14cb7f927404196eb7eb852cbdd9884 /etc/init.d/zfs-zed.in | |
parent | ac4985e48dfcf030418df0f0ce9bf153ba12ba03 (diff) |
Fix 'zfs list -t snapshot' depth
Commit df583073 introduced the ability to list the snapshots for a
specified dataset. This change inadvertently resulted in only the top-
level snapshots being listed when no dataset was specified. Fix this
issue by adding an additional check to determine if a dataset was
provided to avoid incorrectly restricting the depth.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Tom Caputi <[email protected]>
Reviewed-by: Alek Pinchuk <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #8591
Closes #8594
Diffstat (limited to 'etc/init.d/zfs-zed.in')
0 files changed, 0 insertions, 0 deletions