Whamcloud - gitweb
EX-7775 utils: fix LL_COMPR_TYPE wire checks
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 27 Jun 2023 14:42:20 +0000 (16:42 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 1 Jul 2023 10:01:42 +0000 (10:01 +0000)
commit781bb7d00556bca2ad29fca12167b95699b604b2
tree41c383d038fcf7bf8d3a0a1501e3be20d6ebe8ea
parent653a230ef58c29858be29f43c559cd4cdea06969
EX-7775 utils: fix LL_COMPR_TYPE wire checks

Fix LL_COMPR_TYPE* wire checks to avoid duplication.
The value of LL_COMPR_TYPE_UNCHANGED is also declared as 15 so that
is does not conflict with other potential real compression types in
the future.

Fixes: 67d4601737 ("EX-6249 csdc: set compress component for file")
Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iab9830f09f0778e1e1f3b1ea4c9878ce1017de8d
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51473
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c