commit | f02cec9d33e0069c11e58f97529c1d697255889d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Mar 30 20:13:48 2020 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Wed Apr 01 13:37:56 2020 -0400 |
tree | 039a517696c762c215244ff273c678ee4ef20c39 | |
parent | dc9dc2febb17f72e9878eb540ad3996f7984239a [diff] |
NFS: Fix a request reference leak in nfs_direct_write_clear_reqs() nfs_direct_write_scan_commit_list() will lock the request and bump the reference count, but we also need to account for the reference that was taken when we initially added the request to the commit list. Fixes: fb5f7f20cdb9 ("NFS: commit errors should be fatal") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>