Whamcloud - gitweb
LU-9505 llapi: treat MDT index as a hex number 25/28225/2
authorEmoly Liu <emoly.liu@intel.com>
Wed, 17 May 2017 09:04:44 +0000 (17:04 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 3 Aug 2017 21:41:15 +0000 (21:41 +0000)
commitf75574c5f6d88eb697dfafce11469b4e3f2b8e95
tree245d43d34e81ae71424d6d0f14e6b7229879e64f
parente59847d7eb80ae22d26bdab7852dfe61762493ee
LU-9505 llapi: treat MDT index as a hex number

Since MDT index is a hex number, "base" in strtol() should be 16.

Lustre-change: https://review.whamcloud.com/27156
Lustre-commit: 26b710a536dc58c9fa0320cdbf5f6b7ce4dc1a68

Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I50922f9eb5d1095f06a493628ef521d34969a59f
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28225
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/utils/liblustreapi.c