Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 111c7081 authored by Jeff Layton's avatar Jeff Layton Committed by Ilya Dryomov
Browse files

ceph: after an MDS request, do callback and completions



No MDS requests use r_callback today, but that will change in the
future. The OSD client always does r_callback and then completes
r_completion. Let's have the MDS client do the same.

Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Reviewed-by: default avatar"Yan, Zheng" <zyan@redhat.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent c1dfc277
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2384,7 +2384,6 @@ static void complete_request(struct ceph_mds_client *mdsc,
{
	if (req->r_callback)
		req->r_callback(mdsc, req);
	else
	complete_all(&req->r_completion);
}