]> 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)
commit76f375f17721da27941afdc32550a92d3f068ad3
treee9249ca9b9b3cbbdd5eb4c0cbe43b93c47bcc298
parent5a989ee9feedd39cb4877861a77ea22698f1a72c
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