Whamcloud - gitweb
LU-16085 llite: fix stat attributes_mask 04/48404/3
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 12 Aug 2022 07:59:02 +0000 (09:59 +0200)
committerOleg Drokin <green@whamcloud.com>
Sat, 10 Sep 2022 00:54:48 +0000 (00:54 +0000)
commitd1f49b124592132242096c907bfba23362fdda88
tree556704bfeb7320b149bd8e1dec68d5dc9c4ddfa1
parent64d9573310ade17322d0176d94291a9897013ed3
LU-16085 llite: fix stat attributes_mask

Fix stat attributes_mask to return STATX_ATTR_ENCRYPTED whenever it is
possible. Also fix sanityn test_106c to expect at least the 0x30 flag
for attributes_mask.

Lustre-change: https://review.whamcloud.com/48208
Lustre-commit: 0e48653c27eacad29dbff1589da771ad4f5d1014
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
LU-16085 tests: fix sanityn test_106c

Fix sanityn test_106c after modification introduced when fixing
stat attributes_mask.

Lustre-change: https://review.whamcloud.com/48435
Lustre-commit: TBD (12ab7defee65a82b495dab9ba2da03dcc7d55799)

Test-Parameters: trivial testlist=sanityn env=ONLY=106c
Fixes: 0e48653c27 ("LU-16085 llite: fix stat attributes_mask")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Icd16beff058c42d77e9b04ad1a287ec2ac04dfed
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/48404
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/file.c
lustre/tests/sanityn.sh