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

Break out the guts of ceph_get_caps into a helper that takes an inode
and ceph_file_info instead of a file pointer.

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