diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-04-07 20:03:19 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-04-29 11:35:49 -0400 |
commit | 3352d2c2d0540955a7bbb3421a28330af7f9d79c (patch) | |
tree | ca155444103cb3bf2b737d1cd7bf8200d747e9ec /fs/nfsd/nfs4xdr.c | |
parent | bc749ca4c405d507e6ec6e3f3e5475e9a09faf0a (diff) |
nfsd4: delete obsolete xdr comments
We don't need comments to tell us these macros are ugly. And we're long
past trying to share any of this code with the BSD's.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index fe46edeab2f6..4a71fcd3f036 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c | |||
@@ -83,16 +83,6 @@ check_filename(char *str, int len, __be32 err) | |||
83 | return 0; | 83 | return 0; |
84 | } | 84 | } |
85 | 85 | ||
86 | /* | ||
87 | * START OF "GENERIC" DECODE ROUTINES. | ||
88 | * These may look a little ugly since they are imported from a "generic" | ||
89 | * set of XDR encode/decode routines which are intended to be shared by | ||
90 | * all of our NFSv4 implementations (OpenBSD, MacOS X...). | ||
91 | * | ||
92 | * If the pain of reading these is too great, it should be a straightforward | ||
93 | * task to translate them into Linux-specific versions which are more | ||
94 | * consistent with the style used in NFSv2/v3... | ||
95 | */ | ||
96 | #define DECODE_HEAD \ | 86 | #define DECODE_HEAD \ |
97 | __be32 *p; \ | 87 | __be32 *p; \ |
98 | __be32 status | 88 | __be32 status |
@@ -1489,20 +1479,7 @@ nfsd4_decode_compound(struct nfsd4_compoundargs *argp) | |||
1489 | 1479 | ||
1490 | DECODE_TAIL; | 1480 | DECODE_TAIL; |
1491 | } | 1481 | } |
1492 | /* | ||
1493 | * END OF "GENERIC" DECODE ROUTINES. | ||
1494 | */ | ||
1495 | 1482 | ||
1496 | /* | ||
1497 | * START OF "GENERIC" ENCODE ROUTINES. | ||
1498 | * These may look a little ugly since they are imported from a "generic" | ||
1499 | * set of XDR encode/decode routines which are intended to be shared by | ||
1500 | * all of our NFSv4 implementations (OpenBSD, MacOS X...). | ||
1501 | * | ||
1502 | * If the pain of reading these is too great, it should be a straightforward | ||
1503 | * task to translate them into Linux-specific versions which are more | ||
1504 | * consistent with the style used in NFSv2/v3... | ||
1505 | */ | ||
1506 | #define WRITE32(n) *p++ = htonl(n) | 1483 | #define WRITE32(n) *p++ = htonl(n) |
1507 | #define WRITE64(n) do { \ | 1484 | #define WRITE64(n) do { \ |
1508 | *p++ = htonl((u32)((n) >> 32)); \ | 1485 | *p++ = htonl((u32)((n) >> 32)); \ |
@@ -3252,10 +3229,6 @@ nfsd4_encode_replay(struct nfsd4_compoundres *resp, struct nfsd4_op *op) | |||
3252 | ADJUST_ARGS(); | 3229 | ADJUST_ARGS(); |
3253 | } | 3230 | } |
3254 | 3231 | ||
3255 | /* | ||
3256 | * END OF "GENERIC" ENCODE ROUTINES. | ||
3257 | */ | ||
3258 | |||
3259 | int | 3232 | int |
3260 | nfs4svc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) | 3233 | nfs4svc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) |
3261 | { | 3234 | { |