target/configfs: handle match_int() errors
authorDavid Disseldorp <ddiss@suse.de>
Sun, 12 Jul 2015 16:49:18 +0000 (18:49 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 24 Jul 2015 06:41:22 +0000 (23:41 -0700)
commitc20910264c367a5dfbf6c09e8ec2ff0c5c52857a
tree9d501d4c6e9c279ee36979610de3a4f7932b89c3
parent9105bfc038ca5a506404ce37cd3c0e85f76351e3
target/configfs: handle match_int() errors

As a follow up to ce31c1b0dc4038a1dec64585d892adb73d9c45f4 - there are
still a few LIO match_int() calls that don't check the return value.
Propagate errors rather than using the potentially uninitialised result.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c