Whamcloud - gitweb
LU-6051 utils: Remove incorrect request for getstripe help 97/28597/3
authorSteve Guminski <stephenx.guminski@intel.com>
Fri, 18 Aug 2017 12:37:29 +0000 (08:37 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 10 Sep 2017 04:55:15 +0000 (04:55 +0000)
commitad45173d94e0be94de90368019be52a905bcb993
treeb02ee8a1b1729f344356b3e10b60bae9404e8b1f
parent7e58fd07723483517dbe712ee671db416b6d3ac4
LU-6051 utils: Remove incorrect request for getstripe help

The option flag for stripe-size in the getstripe command was changed
in Lustre 1.8.  To detect the correct flag to use, the help was
parsed.  However, the help was incorrectly invoked by using the
"--help" option, instead of the correct "lfs help getstripe".
Since interoperability with 1.8 is no longer needed, the incorrect
code is removed and the correct flag is hard-coded.

Test-Parameters: trivial
Signed-off-by: Steve Guminski <stephenx.guminski@intel.com>
Change-Id: I29ae644c7d6b2ed247573d83c943cb556cfb6325
Reviewed-on: https://review.whamcloud.com/28597
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/scripts/lfs_migrate