summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.org>2026-10-11 17:39:11 -0300
committerPaulo Alcantara <pc@manguebit.org>2026-10-13 00:52:21 -0300
commita4111beeade900346726acb2746f22a6313aeaf0 (patch)
treee20c09b3b27ecbf47376a1f01cea83356f01716d /tools/perf/scripts/python/stackcollapse.py
parent7c4bf530aefad8b5b47ffb464daa90b3f0662930 (diff)
downloadlinux-a4111beeade900346726acb2746f22a6313aeaf0.tar.gz
linux-a4111beeade900346726acb2746f22a6313aeaf0.zip
smb: client: log the selected security type on session setup failure
When mounting without an explicit sec= option, ses->sectype stays Unspecified while the real mechanism is chosen later through ->select_sectype(), so a failed session setup logs a useless name: CIFS: VFS: \\server failed to create a new SMB session with Unknown: -13 Resolve the mechanism through ->select_sectype() before formatting it, as cifs_debug.c already does, so the message names the actual security type. Fixes: a8fce7c807b1 ("smb: client: improve error message when creating SMB session") Signed-off-by: Paulo Alcantara <pc@manguebit.org> Reviewed-by: David Howells <dhowells@redhat.com> Cc: Namjae Jeon <linkinjeon@kernel.org> Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com> Cc: Shyam Prasad N <sprasad@microsoft.com> Cc: Tom Talpey <tom@talpey.com> Cc: Bharath SM <bharathsm@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions