Whamcloud - gitweb
LU-17900 llite: handle AT_GETATTR_NOSEC flag if present
authorBruno Faccini <bfaccini@nvidia.com>
Mon, 3 Jun 2024 14:47:51 +0000 (16:47 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Jun 2024 05:34:37 +0000 (05:34 +0000)
commit2d4ea6bf3d179fd61ed03c9ba784bff145935752
tree6b03d13c15dff33b2bb8a87c0c116fa910c380f4
parent2f41a593ba4a9be1d94f71ff779117fad93d0f27
LU-17900 llite: handle AT_GETATTR_NOSEC flag if present

Starting with v6.7-rc1-1-g8a924db2d7b5, a new AT_GETATTR_NOSEC
flag can be passed in addition by vfs_getattr_nosec() to the
underlying FS getattr() interface routine.
So it must be handled/masked in ll_vfs_getattr() in order to avoid
to pass it back to vfs_getattr(), like already done by
ecryptfs/overlayfs and thus no longer get a warning/stack displayed.

Lustre-change: https://review.whamcloud.com/55296
Lustre-commit: b3c5473ce74a6600aaa6938de81d91f099b1f1bf

Signed-off-by: Bruno Faccini <bfaccini@nvidia.com>
Change-Id: I1d041913a6fc3ab9158fd611cb7d14dd1b7f694b
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Aurelien Degremont <adegremont@nvidia.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55400
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lustre_compat.h