diff options
author | Andy Grover <agrover@redhat.com> | 2013-05-29 23:05:59 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-21 03:47:32 +0400 |
commit | 58bd0c69ffa27ea2309959836811e88004d73720 (patch) | |
tree | 5828e17a3a7708e55b511e88affeea0f3172a9ef /drivers/zorro | |
parent | b5aff3d2747bea08b386edd070941a45611ffe51 (diff) | |
download | linux-58bd0c69ffa27ea2309959836811e88004d73720.tar.xz |
target/iscsi: Fix op=disable + error handling cases in np_store_iser
Writing 0 when iser was not previously enabled, so succeed but do
nothing so that user-space code doesn't need a try: catch block
when ib_isert logic is not available.
Also, return actual error from add_network_portal using PTR_ERR
during op=enable failure.
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions