iscsi-target: use generic inet_pton_with_scope
authorSagi Grimberg <sagi@grimberg.me>
Mon, 6 Feb 2017 10:51:03 +0000 (12:51 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 4 Apr 2017 15:48:23 +0000 (09:48 -0600)
commit4459e042970b33b94ef0e2426ee22edf233da2f5
tree00b0f4ebe1e498b9a4bb1743d9774cd5f31bb5b0
parent0928f9b4f194842d2f932d6be5c38768dfada104
iscsi-target: use generic inet_pton_with_scope

Instead of parsing address strings, use a generic
helper.

Acked-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/target/iscsi/iscsi_target_configfs.c