]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
client: Skip fscrypt_last_block if in non-fscrypt mode
authorChristopher Hoffman <choffman@redhat.com>
Wed, 28 May 2025 17:23:12 +0000 (17:23 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:35 +0000 (13:59 +0000)
commitb35b341c16d5ac297a30b42a18e0aa96c2b5c678
tree6a2e1344c1d36c1f5f4a9ef7b05320336f3c0bf7
parenta322f53ecb4d9709e8697d349911dff65ac1146c
client: Skip fscrypt_last_block if in non-fscrypt mode

Skip reading and sending fscrypt_last_block if client_fscrypt_as
is false during do_setattr. Without the key, fscrypt truncate is
not possible on fscrypt block boundary.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc