Skip to content
Commit f02cec9d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: fb5f7f20 ("NFS: commit errors should be fatal")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent dc9dc2fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment