NLM: Shrink the maximum request size of NLM4 requests
[deliverable/linux.git] / include / linux / lockd / lockd.h
index ac25b5649c594a65589ec25f8079a9642333e447..f6a81e0b1b9325c196cdd10c26b4826eff6f251c 100644 (file)
@@ -88,7 +88,7 @@ struct nlm_wait;
 /*
  * Memory chunk for NLM client RPC request.
  */
-#define NLMCLNT_OHSIZE         (sizeof(utsname()->nodename)+10)
+#define NLMCLNT_OHSIZE         ((__NEW_UTS_LEN) + 10u)
 struct nlm_rqst {
        unsigned int            a_flags;        /* initial RPC task flags */
        struct nlm_host *       a_host;         /* host handle */
This page took 0.026027 seconds and 5 git commands to generate.