xattr: add listxattr helper
authorChristian Brauner <brauner@kernel.org>
Wed, 1 Feb 2023 13:14:53 +0000 (14:14 +0100)
committerChristian Brauner (Microsoft) <brauner@kernel.org>
Mon, 6 Mar 2023 08:57:11 +0000 (09:57 +0100)
commit2db8a948046cab3a2f707561592906a3d096972f
tree303451077f517d8bdd1aa4a24b6006d6c99a9f86
parentf2620f166e2a4db08f016b7b30b904ab28c265e4
xattr: add listxattr helper

Add a tiny helper to determine whether an xattr handler given a specific
dentry supports listing the requested xattr. We will use this helper in
various filesystems in later commits.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
include/linux/xattr.h