Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153668
b: refs/heads/master
c: 3352d2c
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Apr 29, 2009
1 parent b054673 commit 95ee56e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc749ca4c405d507e6ec6e3f3e5475e9a09faf0a
refs/heads/master: 3352d2c2d0540955a7bbb3421a28330af7f9d79c
27 changes: 0 additions & 27 deletions trunk/fs/nfsd/nfs4xdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ check_filename(char *str, int len, __be32 err)
return 0;
}

/*
* START OF "GENERIC" DECODE ROUTINES.
* These may look a little ugly since they are imported from a "generic"
* set of XDR encode/decode routines which are intended to be shared by
* all of our NFSv4 implementations (OpenBSD, MacOS X...).
*
* If the pain of reading these is too great, it should be a straightforward
* task to translate them into Linux-specific versions which are more
* consistent with the style used in NFSv2/v3...
*/
#define DECODE_HEAD \
__be32 *p; \
__be32 status
Expand Down Expand Up @@ -1489,20 +1479,7 @@ nfsd4_decode_compound(struct nfsd4_compoundargs *argp)

DECODE_TAIL;
}
/*
* END OF "GENERIC" DECODE ROUTINES.
*/

/*
* START OF "GENERIC" ENCODE ROUTINES.
* These may look a little ugly since they are imported from a "generic"
* set of XDR encode/decode routines which are intended to be shared by
* all of our NFSv4 implementations (OpenBSD, MacOS X...).
*
* If the pain of reading these is too great, it should be a straightforward
* task to translate them into Linux-specific versions which are more
* consistent with the style used in NFSv2/v3...
*/
#define WRITE32(n) *p++ = htonl(n)
#define WRITE64(n) do { \
*p++ = htonl((u32)((n) >> 32)); \
Expand Down Expand Up @@ -3252,10 +3229,6 @@ nfsd4_encode_replay(struct nfsd4_compoundres *resp, struct nfsd4_op *op)
ADJUST_ARGS();
}

/*
* END OF "GENERIC" ENCODE ROUTINES.
*/

int
nfs4svc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy)
{
Expand Down

0 comments on commit 95ee56e

Please sign in to comment.