]> git.baikalelectronics.ru Git - kernel.git/commit
tcmu: return on first Opt parse failure
authorMike Christie <mchristi@redhat.com>
Thu, 2 Mar 2017 05:14:40 +0000 (23:14 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 18 Mar 2017 21:47:25 +0000 (14:47 -0700)
commit3354526ab23079c84458da105949182cd9dfaaec
treee9249ca9b9b3cbbdd5eb4c0cbe43b93c47bcc298
parent71fd91d1b5f320392a1efc55c25298bf3d8a49ad
tcmu: return on first Opt parse failure

We only were returing failure if the last opt to be parsed failed.
This has a return failure when we first detect a failure.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c