libceph, ceph: move ceph_osdc_copy_from() into cephfs code
authorLuís Henriques <lhenriques@suse.de>
Thu, 4 Nov 2021 12:31:46 +0000 (12:31 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Nov 2021 02:29:52 +0000 (03:29 +0100)
commitaca39d9e86f3edeaac5d2c467f5fd31e0b0df606
tree118ba16d9959bcfd53cf2868a24e957f704ea160
parent17e9fc9fca0c4e0d5924f4b92f89c2c2b6b4be15
libceph, ceph: move ceph_osdc_copy_from() into cephfs code

This patch moves ceph_osdc_copy_from() function out of libceph code into
cephfs.  There are no other users for this function, and there is the need
(in another patch) to access internal ceph_osd_request struct members.

Signed-off-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/file.c
include/linux/ceph/osd_client.h
net/ceph/osd_client.c