projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea332d6
)
NFS: Fix a reference leak in nfs_wb_cancel_page()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 26 Jan 2010 20:41:34 +0000
(15:41 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 23 Feb 2010 15:37:50 +0000
(07:37 -0800)
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>
fs/nfs/write.c
patch
|
blob
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index 6fc37762c495c967d9d3edefe0dcecc83dad6341..cf6c06f66edc3e815b5b32dcae0c277f12564b3f 100644
(file)
--- 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;
}