diff options
Diffstat (limited to 'fs/nfsd/cache.h')
-rw-r--r-- | fs/nfsd/cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/cache.h b/fs/nfsd/cache.h index 9c7232b45103..87fd1410b737 100644 --- a/fs/nfsd/cache.h +++ b/fs/nfsd/cache.h | |||
@@ -29,6 +29,8 @@ struct svc_cacherep { | |||
29 | u32 c_prot; | 29 | u32 c_prot; |
30 | u32 c_proc; | 30 | u32 c_proc; |
31 | u32 c_vers; | 31 | u32 c_vers; |
32 | unsigned int c_len; | ||
33 | __wsum c_csum; | ||
32 | unsigned long c_timestamp; | 34 | unsigned long c_timestamp; |
33 | union { | 35 | union { |
34 | struct kvec u_vec; | 36 | struct kvec u_vec; |
@@ -73,6 +75,9 @@ enum { | |||
73 | /* Cache entries expire after this time period */ | 75 | /* Cache entries expire after this time period */ |
74 | #define RC_EXPIRE (120 * HZ) | 76 | #define RC_EXPIRE (120 * HZ) |
75 | 77 | ||
78 | /* Checksum this amount of the request */ | ||
79 | #define RC_CSUMLEN (256U) | ||
80 | |||
76 | int nfsd_reply_cache_init(void); | 81 | int nfsd_reply_cache_init(void); |
77 | void nfsd_reply_cache_shutdown(void); | 82 | void nfsd_reply_cache_shutdown(void); |
78 | int nfsd_cache_lookup(struct svc_rqst *); | 83 | int nfsd_cache_lookup(struct svc_rqst *); |