[RFC PATCH 20/35] nfs: add the NFS_V4_XATTR config option

Frank van der Linden
2019-09-12T17:29:03Z

Add the CONFIG_NFS_V4_XATTR option to enable client side user extended
attributes support for NFSv4.2

Signed-off-by: Frank van der Linden <fllinden@amazon.com>
---
fs/nfs/Kconfig | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig
index 295a7a21b774..067689ea9e3f 100644
--- a/fs/nfs/Kconfig
+++ b/fs/nfs/Kconfig
@@ -152,6 +152,15 @@ config NFS_V4_1_MIGRATION
The NFSv4.1 pieces of the Linux NFSv4 migration implementation are
still experimental. If you are not an NFSv4 developer, say N here.

+config NFS_V4_XATTR
+ bool "NFSv4.2 client support for extended attributes"
+ depends on NFS_V4_2
+ default n
+ help
+ This option enables the optional NFSv4 client extended attributes
+ support (https://tools.ietf.org/html/rfc8276). User namespace
+ xattr support only, as specificed in the RFC.
+
config NFS_V4_SECURITY_LABEL
bool
depends on NFS_V4_2 && SECURITY
--
2.17.2