cifs: print TIDs as hex
authorEnzo Matsumiya <ematsumiya@suse.de>
Wed, 18 May 2022 14:41:04 +0000 (11:41 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 20 May 2022 22:46:22 +0000 (17:46 -0500)
Makes these debug messages easier to read

Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c
fs/cifs/smb2misc.c

index 50eed49..44dc66f 100644 (file)
@@ -1789,7 +1789,7 @@ cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx)
                goto out;
        }
 
-       cifs_dbg(FYI, "IPC tcon rc = %d ipc tid = %d\n", rc, tcon->tid);
+       cifs_dbg(FYI, "IPC tcon rc=%d ipc tid=0x%x\n", rc, tcon->tid);
 
        ses->tcon_ipc = tcon;
 out:
index 3fe47a8..15b5d25 100644 (file)
@@ -798,7 +798,7 @@ smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid,
                if (tcon->ses)
                        server = tcon->ses->server;
 
-               cifs_server_dbg(FYI, "tid=%u: tcon is closing, skipping async close retry of fid %llu %llu\n",
+               cifs_server_dbg(FYI, "tid=0x%x: tcon is closing, skipping async close retry of fid %llu %llu\n",
                                tcon->tid, persistent_fid, volatile_fid);
 
                return 0;