]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/smb/client: add verbose error logging for UNC parsing
authorFredric Cover <FredTheDude@proton.me>
Sun, 29 Mar 2026 01:47:53 +0000 (18:47 -0700)
committerSteve French <stfrench@microsoft.com>
Mon, 6 Apr 2026 00:58:40 +0000 (19:58 -0500)
commitb3f5c2a41a0d0d2efbfb4dcdcdc086856562b28b
treed4dc808b5d76f8a002a542c6c3d800b644e60a9d
parent591cd656a1bf5ea94a222af5ef2ee76df029c1d2
fs/smb/client: add verbose error logging for UNC parsing

Add cifs_dbg(VFS, ...) statements to smb3_parse_devname() to provide
explicit feedback when parsing fails. Currently, the function returns
-EINVAL silently, making it difficult to debug mount failures caused
by malformed paths or missing share names.

Signed-off-by: Fredric Cover <FredTheDude@proton.me>
Acked-by: Henrique Carvalho <[2]henrique.carvalho@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/fs_context.c