diff options
author | Mike Christie <[email protected]> | 2014-07-12 15:51:50 -0500 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-08-01 08:16:39 -0400 |
commit | 719e5874d0777b575720249d3ece3dbde3efb452 (patch) | |
tree | aac14a23dd7932ea0393c6a384329f6e935cc5cf /net/lapb/lapb_subr.c | |
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 <[email protected]>
Acked-by: Vikas Chaudhary <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions