]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: During fscrypt get policy do not display inbuf
authorChristopher Hoffman <choffman@redhat.com>
Mon, 29 Sep 2025 14:02:32 +0000 (14:02 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:36 +0000 (13:59 +0000)
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 <choffman@redhat.com>
src/client/fuse_ll.cc

index c8c50dac6ce9fc15b9128a230eefc82b22687e8e..2346de122f47017d5ccaa4326e3ed523ff014f2c 100644 (file)
@@ -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)) {