• Jens Axboe's avatar
    [PATCH] sr_ioctl must return -EIO, not -EINVAL · 6d94d882
    Jens Axboe authored
    We must return -EIO if the command fails (the 5/20/00 sense check is
    just helping return more sane info), not -EINVAL. Getting -EINVAL return
    on an ioctl if a command fails is less than helpful for applications...
    6d94d882
sr_ioctl.c 15 KB