diff options
author | LOLi <[email protected]> | 2018-04-19 18:45:17 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-04-19 09:45:17 -0700 |
commit | b4555c777a0be3c0dba29662d278c57099c60a87 (patch) | |
tree | 5e2c2e713a6c9d38ba9d5b993009be1419f39084 /module/zfs/vdev_indirect.c | |
parent | 599b8648133738b524ff4c58a72fc744b62fe142 (diff) |
Fix 'zfs remap <poolname@snapname>'
Only filesystems and volumes are valid 'zfs remap' parameters: when
passed a snapshot name zfs_remap_indirects() does not handle the
EINVAL returned from libzfs_core, which results in failing an assertion
and consequently crashing.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #7454
Diffstat (limited to 'module/zfs/vdev_indirect.c')
0 files changed, 0 insertions, 0 deletions