]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: size handling for encrypted inodes in cap updates
authorJeff Layton <jlayton@kernel.org>
Thu, 25 Aug 2022 13:31:06 +0000 (09:31 -0400)
committerXiubo Li <xiubli@redhat.com>
Fri, 26 Aug 2022 23:58:54 +0000 (07:58 +0800)
commit48326539d3d8a36e1b0cb34cdf66d7a7c27e1e66
tree3108ff2b92738bcc6c9521f48a54de3904fa4ea9
parent8aac23b3267d26750d3408bb67514d4973cf69cd
ceph: size handling for encrypted inodes in cap updates

Transmit the rounded-up size as the normal size, and fill out the
fscrypt_file field with the real file size.

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