commit | 719e5874d0777b575720249d3ece3dbde3efb452 | [log] [tgz] |
---|---|---|
author | Mike Christie <michaelc@cs.wisc.edu> | Sat Jul 12 15:51:50 2014 -0500 |
committer | Christoph Hellwig <hch@lst.de> | Fri Aug 01 08:16:39 2014 -0400 |
tree | aac14a23dd7932ea0393c6a384329f6e935cc5cf | |
parent | 2f7608fc5e6c8a70df3ce31406feee70a42458ba [diff] |
iscsi class: fix get_host_stats return code when not supported When the get_host_stats call was not supported we were returing EINVAL. This has us return ENOSYS, because for software iscsi drivers where there is no host it is ok to not have this callout. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Acked-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>