NFS: Fix the inode request accounting when pages have subrequests
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 18 Jul 2017 19:22:12 +0000 (15:22 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:47 +0000 (11:54 -0400)
commitb66aaa8dfeda7b5c7df513cf3b36e1290fa84055
tree1e998c046a8313506772867245816cc5c1a38d48
parent31a01f093edbc687e783a4c8adcd76d3cc91a559
NFS: Fix the inode request accounting when pages have subrequests

Both nfs_destroy_unlinked_subrequests() and nfs_lock_and_join_requests()
manipulate the inode flags adjusting the NFS_I(inode)->nrequests.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c