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:
13a4214
)
ceph: fix memory leak in statfs
author
Yehuda Sadeh
<yehuda@hq.newdream.net>
Tue, 1 Jun 2010 17:37:40 +0000
(10:37 -0700)
committer
Sage Weil
<sage@newdream.net>
Tue, 1 Jun 2010 23:56:02 +0000
(16:56 -0700)
Freeing the statfs request structure when required.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mon_client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/mon_client.c
b/fs/ceph/mon_client.c
index 21c62e9b7d1d6d4c816d252a3155706d25752ccf..07a539906e67c821a2db3e0c6717c0957d3bbecf 100644
(file)
--- a/
fs/ceph/mon_client.c
+++ b/
fs/ceph/mon_client.c
@@
-400,6
+400,8
@@
static void release_generic_request(struct kref *kref)
ceph_msg_put(req->reply);
if (req->request)
ceph_msg_put(req->request);
+
+ kfree(req);
}
static void put_generic_request(struct ceph_mon_generic_request *req)