diff options
author | Hannes Reinecke <hare@suse.de> | 2016-04-25 13:45:50 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-05-09 19:36:45 +0300 |
commit | 59f68474c2a1f5f0cedede60b60de97c603dc194 (patch) | |
tree | bc3fdf2dc88364fbc22cc19ed5b1c5af03e4f8cd /include/linux/libata.h | |
parent | a57038496422d7d21b7e41ed70d63bf0c6ff6068 (diff) | |
download | linux-59f68474c2a1f5f0cedede60b60de97c603dc194.tar.xz |
libata-scsi: Generate sense code for disabled devices
If a device is disabled after error recovery it doesn't make
any sense to generate an ATA sense, but we should rather
return a generic sense code indicating the device is gone.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions