2021-01-21 19:12:42

by Dan Aloni

[permalink] [raw]
Subject: [PATCH v1 5/5] nfs: Increase NFS_MAX_CONNECTIONS

This matches it with the new RPC_MAX_PORTS value.

Signed-off-by: Dan Aloni <[email protected]>
---
fs/nfs/fs_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfs/fs_context.c b/fs/nfs/fs_context.c
index 3d41ba61b26d..38682c99e684 100644
--- a/fs/nfs/fs_context.c
+++ b/fs/nfs/fs_context.c
@@ -28,7 +28,7 @@
#define NFS_DEFAULT_VERSION 2
#endif

-#define NFS_MAX_CONNECTIONS 16
+#define NFS_MAX_CONNECTIONS RPC_MAX_PORTS

enum nfs_param {
Opt_ac,
--
2.26.2