Skip to content

Commit

Permalink
ceph: plug leak of request_mutex
Browse files Browse the repository at this point in the history
Fix leak of osd client request_mutex on receiving dup ack.

Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
Sage Weil committed Dec 1, 2009
1 parent 75eb359 commit 34b43a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 34b43a5

Please sign in to comment.