target/iblock: Use match_strlcpy for Opt_udev_path string assignment
authorNicholas Bellinger <nab@linux-iscsi.org>
Thu, 23 Aug 2012 01:45:11 +0000 (18:45 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 18 Sep 2012 00:13:32 +0000 (17:13 -0700)
commit852b6ed110990891d21bf76b4f46a3c854866f67
treee5251d6b288ae720af4a374198afa37da5233c95
parent35d1efe80500a55f9aa01b305a6714ec78c33764
target/iblock: Use match_strlcpy for Opt_udev_path string assignment

Following commit dbc6e0222 from Al Viro for fileio, go ahead and make
Opt_udev_path within iblock_set_configfs_dev_params use match_strlcpy
instead of the match_strdup -> snprintf -> kfree equivalent.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_iblock.c