Whamcloud - gitweb
LU-16518 mdt: implicit truncation to a one-bit field 47/58347/3
authorTimothy Day <timday@amazon.com>
Sat, 8 Mar 2025 20:28:26 +0000 (15:28 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 31 Mar 2025 05:56:30 +0000 (05:56 +0000)
commit4d72b73d807168746f8a17bfb947df3fe6ceb95d
tree9ae8810cffe8960ae898cc8aafc4abb4d7eddd1c
parent01e4c5066ca12221224d9ae34fd3568753062c8a
LU-16518 mdt: implicit truncation to a one-bit field

Change the uc_rbac one-bit fields to unsigned int
to avoid an implicit truncation error reported by
Clang (-Wsingle-bit-bitfield-constant-conversion).

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I394e71d5d572d4586de55093d4cc60729041a822
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58347
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/md_object.h