Whamcloud - gitweb
LU-9325 mds: replace simple_strtol use with target_name2index() 51/36551/5
authorJames Simmons <jsimmons@infradead.org>
Thu, 7 Nov 2019 13:49:00 +0000 (08:49 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Dec 2019 01:10:19 +0000 (01:10 +0000)
commit7d37148e36854a293fdc40d7d771769f0a6b64e0
tree971c0344d386b61f366297351b7c7700520cac18
parent4f18daa42192090b135606816bcb3a6dd8777f0a
LU-9325 mds: replace simple_strtol use with target_name2index()

With simple_strtol() going away in the future we should move to
kstrtoXXX functions. Looking a the simple_strtol() use in lod and
osp layer that its use is really target_name2index(). We can
migrate to this function so we have one stop to update from using
simple_strtol().

Change-Id: Ia3d0208c1b1c6bfbe9aa03ce3c068d41ed2c7595
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/36551
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_dev.c
lustre/obdclass/obd_mount.c
lustre/osp/osp_dev.c