From: Trond Myklebust Date: Tue, 26 Jan 2010 20:41:34 +0000 (-0500) Subject: NFS: Fix a reference leak in nfs_wb_cancel_page() X-Git-Tag: MMI-PSA29.97-13-9~25017^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c9edda7140ec6a22accf7f2f86da362dfbfd41fc;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git NFS: Fix a reference leak in nfs_wb_cancel_page() Signed-off-by: Trond Myklebust Cc: stable@kernel.org Reviewed-by: Chuck Lever --- diff --git a/fs/nfs/write.c b/fs/nfs/write.c index d171696017f4..dac8d7676aff 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -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; }