Commit c9edda71 authored by Trond Myklebust's avatar Trond Myklebust

NFS: Fix a reference leak in nfs_wb_cancel_page()

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 92dcffb9
......@@ -1541,6 +1541,7 @@ int nfs_wb_page_cancel(struct inode *inode, struct page *page)
break;
}
ret = nfs_wait_on_request(req);
nfs_release_request(req);
if (ret < 0)
goto out;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment