|
@@ -644,6 +644,8 @@ static void __unregister_request(struct ceph_mds_client *mdsc,
|
|
|
req->r_unsafe_dir = NULL;
|
|
|
}
|
|
|
|
|
|
+ complete_all(&req->r_safe_completion);
|
|
|
+
|
|
|
ceph_mdsc_put_request(req);
|
|
|
}
|
|
|
|
|
@@ -2186,7 +2188,6 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
|
|
|
if (head->safe) {
|
|
|
req->r_got_safe = true;
|
|
|
__unregister_request(mdsc, req);
|
|
|
- complete_all(&req->r_safe_completion);
|
|
|
|
|
|
if (req->r_got_unsafe) {
|
|
|
/*
|