]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephfs_proxy: fix passed buffers for fscrypt functions
authorXavi Hernandez <xhernandez@gmail.com>
Thu, 9 Apr 2026 09:52:39 +0000 (11:52 +0200)
committerXavi Hernandez <xhernandez@gmail.com>
Thu, 9 Apr 2026 10:10:08 +0000 (12:10 +0200)
commitcda3527a3d9af513cbe2eab74b9e311bed7ed361
tree60d8911f9c58ad2aee32a3b52c1227256f4a7d09
parent0f5c6188d56c658908d7a1731a340dd8277ec902
libcephfs_proxy: fix passed buffers for fscrypt functions

The macro CEPH_BUFF_ADD() doesn't set the size of the buffer in the
appropriate request field. We need to use CEPH_DATA_ADD() to do so.

Fixes: https://tracker.ceph.com/issues/75933
Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
src/libcephfs_proxy/libcephfs_proxy.c