mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
cifs: print MIDs in decimal notation
The MIDs are mostly printed as decimal, so let's make it consistent. Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
committed by
Steve French
parent
88fd98a230
commit
bf1bc694b6
@@ -207,7 +207,7 @@ static int cifs_debug_files_proc_show(struct seq_file *m, void *v)
|
|||||||
from_kuid(&init_user_ns, cfile->uid),
|
from_kuid(&init_user_ns, cfile->uid),
|
||||||
cfile->dentry);
|
cfile->dentry);
|
||||||
#ifdef CONFIG_CIFS_DEBUG2
|
#ifdef CONFIG_CIFS_DEBUG2
|
||||||
seq_printf(m, " 0x%llx\n", cfile->fid.mid);
|
seq_printf(m, " %llu\n", cfile->fid.mid);
|
||||||
#else
|
#else
|
||||||
seq_printf(m, "\n");
|
seq_printf(m, "\n");
|
||||||
#endif /* CIFS_DEBUG2 */
|
#endif /* CIFS_DEBUG2 */
|
||||||
|
@@ -741,7 +741,7 @@ static void clean_demultiplex_info(struct TCP_Server_Info *server)
|
|||||||
spin_lock(&GlobalMid_Lock);
|
spin_lock(&GlobalMid_Lock);
|
||||||
list_for_each_safe(tmp, tmp2, &server->pending_mid_q) {
|
list_for_each_safe(tmp, tmp2, &server->pending_mid_q) {
|
||||||
mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
|
mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
|
||||||
cifs_dbg(FYI, "Clearing mid 0x%llx\n", mid_entry->mid);
|
cifs_dbg(FYI, "Clearing mid %llu\n", mid_entry->mid);
|
||||||
kref_get(&mid_entry->refcount);
|
kref_get(&mid_entry->refcount);
|
||||||
mid_entry->mid_state = MID_SHUTDOWN;
|
mid_entry->mid_state = MID_SHUTDOWN;
|
||||||
list_move(&mid_entry->qhead, &dispose_list);
|
list_move(&mid_entry->qhead, &dispose_list);
|
||||||
@@ -752,7 +752,7 @@ static void clean_demultiplex_info(struct TCP_Server_Info *server)
|
|||||||
/* now walk dispose list and issue callbacks */
|
/* now walk dispose list and issue callbacks */
|
||||||
list_for_each_safe(tmp, tmp2, &dispose_list) {
|
list_for_each_safe(tmp, tmp2, &dispose_list) {
|
||||||
mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
|
mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
|
||||||
cifs_dbg(FYI, "Callback mid 0x%llx\n", mid_entry->mid);
|
cifs_dbg(FYI, "Callback mid %llu\n", mid_entry->mid);
|
||||||
list_del_init(&mid_entry->qhead);
|
list_del_init(&mid_entry->qhead);
|
||||||
mid_entry->callback(mid_entry);
|
mid_entry->callback(mid_entry);
|
||||||
cifs_mid_q_entry_release(mid_entry);
|
cifs_mid_q_entry_release(mid_entry);
|
||||||
|
@@ -767,7 +767,7 @@ smb2_cancelled_close_fid(struct work_struct *work)
|
|||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (cancelled->mid)
|
if (cancelled->mid)
|
||||||
cifs_tcon_dbg(VFS, "Close unmatched open for MID:%llx\n",
|
cifs_tcon_dbg(VFS, "Close unmatched open for MID:%llu\n",
|
||||||
cancelled->mid);
|
cancelled->mid);
|
||||||
else
|
else
|
||||||
cifs_tcon_dbg(VFS, "Close interrupted close\n");
|
cifs_tcon_dbg(VFS, "Close interrupted close\n");
|
||||||
|
Reference in New Issue
Block a user