commit | 58bd0c69ffa27ea2309959836811e88004d73720 | [log] [tgz] |
---|---|---|
author | Andy Grover <agrover@redhat.com> | Wed May 29 12:05:59 2013 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Jun 20 16:47:32 2013 -0700 |
tree | 5828e17a3a7708e55b511e88affeea0f3172a9ef | |
parent | b5aff3d2747bea08b386edd070941a45611ffe51 [diff] |
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>