nfsd: convert num_drc_entries to an atomic_t
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 6 Aug 2014 17:44:23 +0000 (13:44 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 17 Aug 2014 16:00:12 +0000 (12:00 -0400)
commit31e60f52224197dc989a82237905dfe643183f7c
treefbcb544e5890c8078531bbe94fb74bb9fbfe385c
parent11acf6ef3b58abd1c5eb94eaa38ed3b9dbc387f7
nfsd: convert num_drc_entries to an atomic_t

...so we can remove the spinlocking around it.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c