diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-11-18 11:23:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-11-18 11:23:32 -0800 |
commit | bb28378af3921ea50f316d025acd1f7290873b51 (patch) | |
tree | cc2a99a06b9e0b2a209eb09cb86acbf6d9701e06 /fs/nfsd/cache.h | |
parent | 33b63f159a435c6dcaaf2cd0f312b28c76b61373 (diff) | |
parent | bf51c52a1f3c238d72c64e14d5e7702d3a245b82 (diff) | |
download | linux-stable-bb28378af3921ea50f316d025acd1f7290873b51.tar.gz linux-stable-bb28378af3921ea50f316d025acd1f7290873b51.tar.bz2 linux-stable-bb28378af3921ea50f316d025acd1f7290873b51.zip |
Merge tag 'nfsd-6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Pull nfsd fixes from Chuck Lever:
- Fix several long-standing bugs in the duplicate reply cache
- Fix a memory leak
* tag 'nfsd-6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux:
NFSD: Fix checksum mismatches in the duplicate reply cache
NFSD: Fix "start of NFS reply" pointer passed to nfsd_cache_update()
NFSD: Update nfsd_cache_append() to use xdr_stream
nfsd: fix file memleak on client_opens_release
Diffstat (limited to 'fs/nfsd/cache.h')
-rw-r--r-- | fs/nfsd/cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/cache.h b/fs/nfsd/cache.h index 929248c6ca84..4cbe0434cbb8 100644 --- a/fs/nfsd/cache.h +++ b/fs/nfsd/cache.h @@ -84,8 +84,8 @@ int nfsd_net_reply_cache_init(struct nfsd_net *nn); void nfsd_net_reply_cache_destroy(struct nfsd_net *nn); int nfsd_reply_cache_init(struct nfsd_net *); void nfsd_reply_cache_shutdown(struct nfsd_net *); -int nfsd_cache_lookup(struct svc_rqst *rqstp, - struct nfsd_cacherep **cacherep); +int nfsd_cache_lookup(struct svc_rqst *rqstp, unsigned int start, + unsigned int len, struct nfsd_cacherep **cacherep); void nfsd_cache_update(struct svc_rqst *rqstp, struct nfsd_cacherep *rp, int cachetype, __be32 *statp); int nfsd_reply_cache_stats_show(struct seq_file *m, void *v); |