diff options
author | Andy Adamson <andros@netapp.com> | 2009-03-28 04:30:52 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-03-29 16:20:12 -0400 |
commit | e354d571bb481f1d71f2c3004b9ff570b32e83bd (patch) | |
tree | f55f172d7412c0853187f8cb3c2e1a9fdce4d411 /include/linux/nfsd | |
parent | 42d671c78f6486c932b68a50f88768c7b4e57ebf (diff) |
nfsd: embed nfsd4_current_state in nfsd4_compoundres
Remove the allocation of struct nfsd4_compound_state.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r-- | include/linux/nfsd/xdr4.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/nfsd/xdr4.h b/include/linux/nfsd/xdr4.h index 27bd3e38ec5a..fd15ddc3359d 100644 --- a/include/linux/nfsd/xdr4.h +++ b/include/linux/nfsd/xdr4.h | |||
@@ -45,9 +45,9 @@ | |||
45 | #define XDR_LEN(n) (((n) + 3) & ~3) | 45 | #define XDR_LEN(n) (((n) + 3) & ~3) |
46 | 46 | ||
47 | struct nfsd4_compound_state { | 47 | struct nfsd4_compound_state { |
48 | struct svc_fh current_fh; | 48 | struct svc_fh current_fh; |
49 | struct svc_fh save_fh; | 49 | struct svc_fh save_fh; |
50 | struct nfs4_stateowner *replay_owner; | 50 | struct nfs4_stateowner *replay_owner; |
51 | }; | 51 | }; |
52 | 52 | ||
53 | struct nfsd4_change_info { | 53 | struct nfsd4_change_info { |
@@ -416,7 +416,8 @@ struct nfsd4_compoundres { | |||
416 | u32 taglen; | 416 | u32 taglen; |
417 | char * tag; | 417 | char * tag; |
418 | u32 opcnt; | 418 | u32 opcnt; |
419 | __be32 * tagp; /* where to encode tag and opcount */ | 419 | __be32 * tagp; /* tag, opcount encode location */ |
420 | struct nfsd4_compound_state cstate; | ||
420 | }; | 421 | }; |
421 | 422 | ||
422 | #define NFS4_SVC_XDRSIZE sizeof(struct nfsd4_compoundargs) | 423 | #define NFS4_SVC_XDRSIZE sizeof(struct nfsd4_compoundargs) |