]> git.baikalelectronics.ru Git - 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)
commit76b531239e1a4f0d106515a1be469df71b833f36
tree278059c769f2fa8e2fa318d37c075a33fc347097
parentc8917a2e3cec683ffd52484c4f764dfd7ad6144d
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