diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2014-07-12 15:51:50 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-08-01 08:16:39 -0400 |
commit | 719e5874d0777b575720249d3ece3dbde3efb452 (patch) | |
tree | aac14a23dd7932ea0393c6a384329f6e935cc5cf /scripts/mod/Makefile | |
parent | 2f7608fc5e6c8a70df3ce31406feee70a42458ba (diff) | |
download | linux-719e5874d0777b575720249d3ece3dbde3efb452.tar.gz linux-719e5874d0777b575720249d3ece3dbde3efb452.tar.bz2 linux-719e5874d0777b575720249d3ece3dbde3efb452.zip |
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>
Diffstat (limited to 'scripts/mod/Makefile')
0 files changed, 0 insertions, 0 deletions