projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75eb359
)
ceph: plug leak of request_mutex
author
Sage Weil
<sage@newdream.net>
Tue, 1 Dec 2009 20:23:54 +0000
(12:23 -0800)
committer
Sage Weil
<sage@newdream.net>
Tue, 1 Dec 2009 20:23:54 +0000
(12:23 -0800)
Fix leak of osd client request_mutex on receiving dup ack.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/osd_client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/osd_client.c
b/fs/ceph/osd_client.c
index 5d30d5959b973c1959aff987b51e2b18ccb38041..d600073f1d3fdbf9b80b1c85d7e0fe61cecac42c 100644
(file)
--- a/
fs/ceph/osd_client.c
+++ b/
fs/ceph/osd_client.c
@@
-739,6
+739,7
@@
static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg)
req->r_got_reply = 1;
} else if ((flags & CEPH_OSD_FLAG_ONDISK) == 0) {
dout("handle_reply tid %llu dup ack\n", tid);
+ mutex_unlock(&osdc->request_mutex);
goto done;
}