-
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
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...