]> 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>
Fri, 5 Nov 2021 14:22:08 +0000 (22:22 +0800)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 15:50:00 +0000 (11:50 -0400)
commite640f2cdfa8508a4357b6325dc1f5f842649227c
tree80db8aafb5c5a4965f44683a7fa7a981f263fb56
parente28c87cce29e2c6447e2a7d2aefd86826bbe570e
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