Skip to contentSkip to conversation

nfsidmap: define NS_MAXMSG if undefined

PATCH In review Rosen Penev 2 participants 2 messages Apr 4, 2020 – Apr 14, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsidmap: define NS_MAXMSG if undefined

uClibc-ng does not define it.

---
 support/nfsidmap/libnfsidmap.c | 4 ++++
 1 file changed, 4 insertions(+)
support/nfsidmap/libnfsidmap.c +4 -0
index d11710f1..bce448cf 100644
@@ -89,6 +89,10 @@ gid_t nobody_gid = (gid_t)-1;
 #define NFS4DNSTXTREC "_nfsv4idmapdomain"
 #endif
 
+#ifndef NS_MAXMSG
+#define NS_MAXMSG 65535
+#endif
+
 /* Default logging fuction */
 static void default_logger(const char *fmt, ...)
 {
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Rosen Penev

uClibc-ng does not define it.

Committed... (tag: nfs-utils-2-4-4-rc3)

steved.

Quoted 20 lines
---
 support/nfsidmap/libnfsidmap.c | 4 ++++
 1 file changed, 4 insertions(+)
support/nfsidmap/libnfsidmap.c +4 -0
index d11710f1..bce448cf 100644
@@ -89,6 +89,10 @@ gid_t nobody_gid = (gid_t)-1;
 #define NFS4DNSTXTREC "_nfsv4idmapdomain"
 #endif
 
+#ifndef NS_MAXMSG
+#define NS_MAXMSG 65535
+#endif
+
 /* Default logging fuction */
 static void default_logger(const char *fmt, ...)
 {