]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nfsd: convert file cache to use over/underflow safe refcount
authorTrond Myklebust <trondmy@gmail.com>
Tue, 14 Jan 2020 17:02:44 +0000 (12:02 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 6 Feb 2020 16:22:55 +0000 (11:22 -0500)
commit689827cd5bfe89e4900db7e1c0c713083a76d04c
tree278059c769f2fa8e2fa318d37c075a33fc347097
parentc19285596de699e4602f9c89785e6b8c29422286
nfsd: convert file cache to use over/underflow safe refcount

Use the 'refcount_t' type instead of 'atomic_t' for improved
refcounting safety.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/filecache.c
fs/nfsd/filecache.h
fs/nfsd/trace.h