diff options
author | alex <[email protected]> | 2020-04-08 01:04:40 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-07 10:04:40 -0700 |
commit | 2a15c6aab40e854808f2d910ee998cd405769dfa (patch) | |
tree | 7edfc086a6c600e7b86d916137b2256ec5b22309 /include/sys/dsl_pool.h | |
parent | 4a21ec056016bb5738721543af933a8eed2308fb (diff) |
libzfs_pool: Remove unused check for ENOTBLK
Commit 379ca9c removed the check on aux devices to be block devices also
changing zfs_ioctl(hdl, ZFS_IOC_VDEV_ADD, ...) and
zfs_ioctl(hdl, ZFS_IOC_POOL_CREATE, ...) to never set ENOTBLK. This
change removes the dangling check for ENOTBLK that will never trigger.
Reviewed-by: Brian Behlendorf <[email protected]>
Reported-by: Richard Elling <[email protected]>
Signed-off-by: Alex John <[email protected]>
Closes #10173
Diffstat (limited to 'include/sys/dsl_pool.h')
0 files changed, 0 insertions, 0 deletions