Whamcloud - gitweb
LU-15220 lipe: avoid gcc-11 -Werror=stringop-truncation warning
authorJian Yu <yujian@whamcloud.com>
Thu, 2 Jun 2022 04:13:58 +0000 (21:13 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 4 Jun 2022 12:45:08 +0000 (12:45 +0000)
commitd01493feca50fbd06e09f674e9da4e249430fd2d
tree14b4e8498f608348ad188edfdc5de43e7a99667e
parente3d9d19194b9dbfcb5f46abfea64ffa20d6bab9e
LU-15220 lipe: avoid gcc-11 -Werror=stringop-truncation warning

This patch fixes -Werror=stringop-truncation warnings
in lipe codes.

Test-Parameters: trivial testlist=sanity-lipe

Change-Id: Ie007083b1fe94d81e3772d7c0947457d2c3042ac
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/47510
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lipe/src/policy.c