cifs: print smb3_fs_context::source when mounting
authorPaulo Alcantara <pc@manguebit.com>
Thu, 27 Apr 2023 19:20:13 +0000 (16:20 -0300)
committerSteve French <stfrench@microsoft.com>
Tue, 2 May 2023 14:23:51 +0000 (09:23 -0500)
commit1810769e3a51375ca35d7a5e5f79542858ca495a
tree907880abd7d3fd662438bd5ad0ba5e0bbcb907de
parent5bff9f741af60b143a5ae73417a8ec47fd5ff2f4
cifs: print smb3_fs_context::source when mounting

Print full device name (UNC + optional prefix) from @old_ctx->source
when printing info about mount.

Before patch

  mount.cifs //srv/share/dir /mnt -o ...
  dmesg
  ...
  CIFS: Attempting to mount \\srv\share

After patch

  mount.cifs //srv/share/dir /mnt -o ...
  dmesg
  ...
  CIFS: Attempting to mount //srv/share/dir

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsfs.c