From: Steve Guminski Date: Fri, 19 May 2017 19:17:03 +0000 (-0400) Subject: LU-6210 utils: Use C99 struct initializers in lustre_fsck.c X-Git-Tag: 2.10.51~60 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4bf65a2f6b215644b17ed20beaae1b7ff1a73bc5;hp=4bf65a2f6b215644b17ed20beaae1b7ff1a73bc5;p=fs%2Flustre-release.git LU-6210 utils: Use C99 struct initializers in lustre_fsck.c This patch makes no functional changes. The long_opt_stop and long_opt_query struct initializers in lustre_lfsck.c are updated to C99 syntax. C89 positional initializers require values to be placed in the correct order. This will cause errors if the fields of the struct definition are reordered or fields are added or removed. C99 named initializers avoid this problem, and also automatically clear any values that are not explicitly set. Test-Parameters: trivial Signed-off-by: Steve Guminski Change-Id: Ie713904f31208447e4d5741023356aa1a37c0ea3 Reviewed-on: https://review.whamcloud.com/27790 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Fan Yong ---