aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4xdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index d4b9d09a6683..14ba4d9b2859 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -1160,11 +1160,11 @@ nfsd4_decode_compound(struct nfsd4_compoundargs *argp)
1160 *p++ = htonl((u32)((n) >> 32)); \ 1160 *p++ = htonl((u32)((n) >> 32)); \
1161 *p++ = htonl((u32)(n)); \ 1161 *p++ = htonl((u32)(n)); \
1162} while (0) 1162} while (0)
1163#define WRITEMEM(ptr,nbytes) do if (nbytes > 0) { \ 1163#define WRITEMEM(ptr,nbytes) do { if (nbytes > 0) { \
1164 *(p + XDR_QUADLEN(nbytes) -1) = 0; \ 1164 *(p + XDR_QUADLEN(nbytes) -1) = 0; \
1165 memcpy(p, ptr, nbytes); \ 1165 memcpy(p, ptr, nbytes); \
1166 p += XDR_QUADLEN(nbytes); \ 1166 p += XDR_QUADLEN(nbytes); \
1167} while (0) 1167}} while (0)
1168#define WRITECINFO(c) do { \ 1168#define WRITECINFO(c) do { \
1169 *p++ = htonl(c.atomic); \ 1169 *p++ = htonl(c.atomic); \
1170 *p++ = htonl(c.before_ctime_sec); \ 1170 *p++ = htonl(c.before_ctime_sec); \