diff mbox series

[v1,5/5] nfs: Increase NFS_MAX_CONNECTIONS

Message ID 20210121191020.3144948-6-dan@kernelim.com (mailing list archive)
State New, archived
Headers show
Series NFSv3 client RDMA multipath enhancements | expand

Commit Message

Dan Aloni Jan. 21, 2021, 7:10 p.m. UTC
This matches it with the new RPC_MAX_PORTS value.

Signed-off-by: Dan Aloni <dan@kernelim.com>
---
 fs/nfs/fs_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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,