[RFC PATCH 35/35] nfsd: add NFSD_V4_XATTR config option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With everything in place, add the NFSD_V4_XATTR config option to enable
user extended attribute support.

Signed-off-by: Frank van der Linden <fllinden@xxxxxxxxxx>
---
 fs/nfsd/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig
index d25f6bbe7006..a42d7c8bdb03 100644
--- a/fs/nfsd/Kconfig
+++ b/fs/nfsd/Kconfig
@@ -145,6 +145,16 @@ config NFSD_V4_SECURITY_LABEL
 	If you do not wish to enable fine-grained security labels SELinux or
 	Smack policies on NFSv4 files, say N.
 
+config NFSD_V4_XATTR
+	bool "NFSv4.2 server extended attribute support (RFC8276)"
+	depends on NFSD_V4
+	help
+
+	This option enables extended attributed support, as defined
+	by RFC8726, for the kernel NFS server. This is not to be
+	confused with the "named attributers" extension. It supports
+	the xattr user namespace only, by design.
+
 config NFSD_FAULT_INJECTION
 	bool "NFS server manual fault injection"
 	depends on NFSD_V4 && DEBUG_KERNEL && DEBUG_FS
-- 
2.17.2




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux