Whamcloud - gitweb
LU-9354 utils: fix lfs.c compile for PPC 27/26727/2
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 19 Apr 2017 02:53:00 +0000 (20:53 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Apr 2017 03:38:22 +0000 (03:38 +0000)
commitc18cc8c58a24fede59b6410d7865056a837ed89e
tree40f9fbb0b3cc18c2c931e62691490a51173140b2
parent17c39f62d3b739ed9b4d4db07e57452f5c4ff863
LU-9354 utils: fix lfs.c compile for PPC

Fix the lfs_setstripe_args parameter to use "unsigned long long"
for lsa_comp_end so that when passed to llapi_parse_size() it is
the correct type.  PPC annoyingly uses "unsigned long" for __u64
while most other architectures use "unsigned long long".

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I27b724d5eab5f4669bde1f5fb44c75a1051ba7bd
Reviewed-on: https://review.whamcloud.com/26727
Tested-by: Jenkins
Reviewed-by: Minh Diep <minh.diep@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/lfs.c