1
linux/fs/configfs
Tom Lendacky 0e6a35b937 fs/configfs: Add a callback to determine attribute visibility
In order to support dynamic decisions as to whether an attribute should be
created, add a callback that returns a bool to indicate whether the
attribute should be displayed. If no callback is registered, the attribute
is displayed by default.

Co-developed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/e555c8740a263fab9f83b2cbb44da1af49a2813c.1717600736.git.thomas.lendacky@amd.com
2024-06-17 20:42:57 +02:00
..
configfs_internal.h
dir.c fs/configfs: Add a callback to determine attribute visibility 2024-06-17 20:42:57 +02:00
file.c
inode.c configfs: convert to new timestamp accessors 2023-10-18 13:26:19 +02:00
item.c
Kconfig
Makefile
mount.c
symlink.c fs: port ->permission() to pass mnt_idmap 2023-01-19 09:24:28 +01:00