diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-01-26 15:41:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-02-23 07:37:50 -0800 |
commit | 1f9382ec17cc4fa5344b871658345e569fba8af7 (patch) | |
tree | 29ccb6769534cf1cc5c290b87c0643b8a61fc3c2 /fs | |
parent | ea332d671c5f6802d85572c2af13b9a671d8ea88 (diff) |
NFS: Fix a reference leak in nfs_wb_cancel_page()
commit c9edda7140ec6a22accf7f2f86da362dfbfd41fc upstream.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 6fc37762c495..cf6c06f66edc 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -1542,6 +1542,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; } |