Whamcloud - gitweb
LU-10663 utils: clear errno before check 05/31305/4
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 14 Feb 2018 18:27:54 +0000 (12:27 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 Feb 2018 03:43:33 +0000 (03:43 +0000)
commit9e488fe9413184e61dcf405c9c87ca348dd6824a
tree9f3876313c83a07caf04f867aaaaa7de21262314
parent8c8f4920e0157b2f1617b7d6da3f758781d68642
LU-10663 utils: clear errno before check

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

Test-Parameters: trivial testlist=obdfilter-survey

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