mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
The function mode_select_handle_sense returns SCSI_DH_OK even when there is a sense code which is incorrect. Removing it so that it returns SCSI_DH_IO when there is sense that is not handled by this function. Signed-off-by: Babu Moger <[email protected]> Reviewed-by: Vijay Chauhan <[email protected]> Reviewed-by: Bob Stankey <[email protected]> Reviewed-by: Chandra Seetharaman <[email protected]> Signed-off-by: James Bottomley <[email protected]>