Whamcloud - gitweb
LU-8378 obd: move s3 in lmd_parse to inner loop 20/23820/4
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 17 Dec 2016 17:18:28 +0000 (12:18 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Jan 2017 05:49:53 +0000 (05:49 +0000)
commit6867d7abdb9905da98d8e90b8dc65d84a7656363
tree8a32b37e5fdf9f61cb79b509f59a0fcaa4bc3cc4
parenta9d854ea63abf918fcb89529453e48a99a002a25
LU-8378 obd: move s3 in lmd_parse to inner loop

The upstream client complains with:

obdclass/obd_mount.c: In function lmd_parse:
obdclass/obd_mount.c:880: warning: variable set but not used

The solution is to move s3 to the inner loop
where it is only used.

Test-Parameters: trivial

Change-Id: I95280d08e5f00cf5fdae62acb21e2c08805a9948
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/23820
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/obdclass/obd_mount.c