]> 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>
Thu, 25 Aug 2022 13:31:11 +0000 (09:31 -0400)
committerXiubo Li <xiubli@redhat.com>
Fri, 26 Aug 2022 23:58:55 +0000 (07:58 +0800)
commit4fc781bc5680ad812100df4e6557d4a367870328
treeacc0aeda0e148232319cef6d02823db69f8c0da8
parent115af76bd83dcba16a453ff1ecc9493593d548d4
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