Whamcloud - gitweb
LU-10663 utils: clear errno before check 30/31430/2
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 14 Feb 2018 18:27:54 +0000 (12:27 -0600)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 12 Mar 2018 21:36:04 +0000 (21:36 +0000)
commitd140cab6f9bbef3d7f77b91628fe8202517fa185
tree690ee7d8cfb0fcfb8a90dc9dec3d4633adf3af80
parent44a4b7931f5dbaf0a07c41aaedf6ad93d671dca9
LU-10663 utils: clear errno before check

In jt_obd_destroy() clear errno before calling strtoull() and checking
it.

Test-Parameters: testlist=obdfilter-survey

Lustre-change: https://review.whamcloud.com/#/c/31305/
Lustre-commit: 9e488fe9413184e61dcf405c9c87ca348dd6824a

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I686cd6eb0a57248177e5b0878df5e3f450fbc942
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31430
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/utils/obd.c