From 590cfe86468d5b052a4289d4253cf509f0165edd Mon Sep 17 00:00:00 2001 From: Christopher Hoffman Date: Mon, 29 Sep 2025 14:02:32 +0000 Subject: [PATCH] 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 --- src/client/fuse_ll.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.47.3