projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92dcffb
)
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
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 26 Jan 2010 20:41:34 +0000
(15:41 -0500)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/write.c
patch
|
blob
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index
d171696
..
dac8d76
100644
(file)
--- 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;
}