commit | 34b43a56b9b103a7a820032177131532d9dbdbe8 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Dec 01 12:23:54 2009 -0800 |
committer | Sage Weil <sage@newdream.net> | Tue Dec 01 12:23:54 2009 -0800 |
tree | 526dc10d39f89589da61c3b9bd82ae35cd1ce385 | |
parent | 75eb3592811028e5b01835126483d115532a3aa1 [diff] [blame] |
ceph: plug leak of request_mutex Fix leak of osd client request_mutex on receiving dup ack. Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/fs/ceph/osd_client.c b/fs/ceph/osd_client.c index 5d30d59..d600073 100644 --- a/fs/ceph/osd_client.c +++ b/fs/ceph/osd_client.c
@@ -739,6 +739,7 @@ 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; }