[PATCH 2/2] nfsdctl: disable v4.0 by default

Jeff Layton
2025-10-08T20:13:52Z

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
utils/nfsdctl/nfsdctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/nfsdctl/nfsdctl.c b/utils/nfsdctl/nfsdctl.c
index e7a0e12495277d2e98a6c21c7cee29fe459f37cc..87320edd45d4a0066c0b88ea6d7c17bce783e39f 100644
--- a/utils/nfsdctl/nfsdctl.c
+++ b/utils/nfsdctl/nfsdctl.c
@@ -1474,7 +1474,7 @@ static int configure_versions(void)
* First apply the default versX.Y settings from nfs.conf.
*/
update_nfsd_version(3, 0, true);
- update_nfsd_version(4, 0, true);
+ update_nfsd_version(4, 0, false);
update_nfsd_version(4, 1, true);
update_nfsd_version(4, 2, true);

--
2.51.0