NFS: Use an atomic_long_t to count the number of requests
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Aug 2017 19:39:46 +0000 (15:39 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:47 +0000 (11:54 -0400)
commita6b6d5b85abf4914bbceade5dddd54c345c64136
tree2cca0a777a06004ba9e8a212ce8cf8f470f7fc68
parente824f99adaaf1ed0e03eac8574599af6d992163d
NFS: Use an atomic_long_t to count the number of requests

Rather than forcing us to take the inode->i_lock just in order to bump
the number.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c
fs/nfs/delegation.c
fs/nfs/inode.c
fs/nfs/pagelist.c
fs/nfs/write.c
include/linux/nfs_fs.h