]> git.karo-electronics.de Git - karo-tx-linux.git/commit
target/iscsi: Fix error handling in np_store_iser
authorAndy Grover <agrover@redhat.com>
Wed, 29 May 2013 19:05:59 +0000 (12:05 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 14 Jun 2013 07:27:46 +0000 (00:27 -0700)
commit8fd068acc08d07437dee81c4eb350f7ae2fb04e7
tree35d8f97448903915276f5165a6407b4621fea6cf
parent670caa9f762647802a1b19749f127ac28949ca5a
target/iscsi: Fix error handling in np_store_iser

Return actual error from add_network_portal if it fails.

Use function-scope 'rc' variable instead of redefining in conditional.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_configfs.c