]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: add __ceph_sync_read helper support
authorXiubo Li <xiubli@redhat.com>
Fri, 5 Nov 2021 14:22:13 +0000 (22:22 +0800)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 15:50:00 +0000 (11:50 -0400)
commit84975ac40cb76d03f0f828cc5596a37eadb379ed
tree88398b762099570c04f5d9d89775057ca26895c6
parent0b4c92a2739c7c9cccc0374d0249c194d8f97795
ceph: add __ceph_sync_read helper support

Turn the guts of ceph_sync_read into a new helper that takes an inode
and an offset instead of a kiocb struct, and make ceph_sync_read call
the helper as a wrapper.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/file.c
fs/ceph/super.h