Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libzfs_pool: Remove unused check for ENOTBLK #10173

Merged
merged 1 commit into from
Apr 7, 2020

Commits on Apr 2, 2020

  1. 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.
    
    Reported-by: Richard Elling <Richard.Elling@RichardElling.com>
    Signed-off-by: Alex John <alex@stty.io>
    spaghetti- committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    7839af2 View commit details
    Browse the repository at this point in the history