aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-12-01 15:23:54 -0500
committerSage Weil <sage@newdream.net>2009-12-01 15:23:54 -0500
commit34b43a56b9b103a7a820032177131532d9dbdbe8 (patch)
tree526dc10d39f89589da61c3b9bd82ae35cd1ce385 /fs/ceph
parent75eb3592811028e5b01835126483d115532a3aa1 (diff)
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>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/osd_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/osd_client.c b/fs/ceph/osd_client.c
index 5d30d5959b97..d600073f1d3f 100644
--- 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)
739 req->r_got_reply = 1; 739 req->r_got_reply = 1;
740 } else if ((flags & CEPH_OSD_FLAG_ONDISK) == 0) { 740 } else if ((flags & CEPH_OSD_FLAG_ONDISK) == 0) {
741 dout("handle_reply tid %llu dup ack\n", tid); 741 dout("handle_reply tid %llu dup ack\n", tid);
742 mutex_unlock(&osdc->request_mutex);
742 goto done; 743 goto done;
743 } 744 }
744 745