ceph: clean up argument lists to __prepare_send_request and __send_request
authorJeff Layton <jlayton@kernel.org>
Wed, 9 Dec 2020 13:24:18 +0000 (08:24 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:48 +0000 (23:21 +0100)
commit396bd62c6912d0fd66287f004017982e542706e7
treef2a7a8608edac5dff92be285ffc216bd9c847739
parent7fe0cdeb0f88988dce8a77e963d15539abba1f18
ceph: clean up argument lists to __prepare_send_request and __send_request

We can always get the mdsc from the session, so there's no need to pass
it in as a separate argument. Pass the session to __prepare_send_request
as well, to prepare for later patches that will need to access it.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c