From: Christopher Hoffman Date: Mon, 29 Sep 2025 14:02:32 +0000 (+0000) Subject: client: During fscrypt get policy do not display inbuf X-Git-Tag: testing/wip-vshankar-testing-20260120.085915-debug^2~13^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=590cfe86468d5b052a4289d4253cf509f0165edd;p=ceph-ci.git client: During fscrypt get policy do not display inbuf When calling get encryption policy via ioctl, do not display the hex str of inbuf. This buffer is not used/uninitialized so no need to display. Signed-off-by: Christopher Hoffman --- diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc index c8c50dac6ce..2346de122f4 100644 --- a/src/client/fuse_ll.cc +++ b/src/client/fuse_ll.cc @@ -962,7 +962,7 @@ static void fuse_ll_ioctl(fuse_req_t req, fuse_ino_t ino, break; case FS_IOC_GET_ENCRYPTION_POLICY_EX_RESTRICTED: case FS_IOC_GET_ENCRYPTION_POLICY_EX: { - generic_dout(10) << __FILE__ << ":" << __LINE__ << ": in_bufsz=" << in_bufsz << " out_bufsz=" << out_bufsz << " FS_IOC_GET_ENCRYPTION_POLICY_EX buffer:\n" << fscrypt_hex_str(in_buf, in_bufsz) << dendl; + generic_dout(10) << __FILE__ << ":" << __LINE__ << ": in_bufsz=" << in_bufsz << " out_bufsz=" << out_bufsz << dendl; struct fscrypt_get_policy_ex_arg out_arg; if (out_bufsz < sizeof(out_arg.policy)) {