projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index d171696017f4befe44f85ffd79b138f88db7c214..dac8d7676aff64fe3bdf1465e61d34fae7b80304 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;
}