linux-stable/fs/cifs
Maciek Borzecki 0fc9322ab5 cifs: escape spaces in share names
Commit 653a5efb84 ("cifs: update super_operations to show_devname")
introduced the display of devname for cifs mounts. However, when mounting
a share which has a whitespace in the name, that exact share name is also
displayed in mountinfo. Make sure that all whitespace is escaped.

Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
CC: <stable@vger.kernel.org> # 5.11+
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2021-04-07 21:30:27 -05:00
..
asn1.c
cache.c
cifs_debug.c cifs: print MIDs in decimal notation 2021-03-08 21:22:31 -06:00
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_swn.c fs/cifs/: fix misspellings using codespell tool 2021-03-19 00:37:51 -05:00
cifs_swn.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c cifs: Fix chmod with modefromsid when an older ACE already exists. 2021-03-26 18:04:35 -05:00
cifsacl.h
cifsencrypt.c
cifsfs.c cifs: escape spaces in share names 2021-04-07 21:30:27 -05:00
cifsfs.h
cifsglob.h fs: cifs: Remove unnecessary struct declaration 2021-04-07 21:30:27 -05:00
cifspdu.h cifs: Adjust key sizes and key generation routines for AES256 encryption 2021-03-26 07:49:39 -05:00
cifsproto.h
cifsroot.c
cifssmb.c
connect.c cifs: On cifs_reconnect, resolve the hostname again. 2021-04-07 21:29:36 -05:00
dfs_cache.c
dfs_cache.h
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c cifs: revalidate mapping when we open files for SMB1 POSIX 2021-03-26 18:04:58 -05:00
fs_context.c cifs: warn and fail if trying to use rootfs without the config option 2021-03-19 00:50:58 -05:00
fs_context.h
fscache.c
fscache.h
inode.c cifs: fix allocation size on newly created files 2021-03-19 11:51:31 -05:00
ioctl.c
Kconfig cifs: On cifs_reconnect, resolve the hostname again. 2021-04-07 21:29:36 -05:00
link.c
Makefile cifs: On cifs_reconnect, resolve the hostname again. 2021-04-07 21:29:36 -05:00
misc.c
netlink.c
netlink.h
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c
smb1ops.c
smb2file.c
smb2glob.h cifs: Adjust key sizes and key generation routines for AES256 encryption 2021-03-26 07:49:39 -05:00
smb2inode.c cifs: do not send close in compound create+close requests 2021-03-08 21:23:22 -06:00
smb2maperror.c
smb2misc.c cifs: Silently ignore unknown oplock break handle 2021-03-26 18:05:26 -05:00
smb2ops.c smb3: fix cached file size problems in duplicate extents (reflink) 2021-03-26 18:41:55 -05:00
smb2pdu.c cifs: ask for more credit on async read/write code paths 2021-03-06 11:35:57 -06:00
smb2pdu.h
smb2proto.h cifs: do not send close in compound create+close requests 2021-03-08 21:23:22 -06:00
smb2status.h
smb2transport.c cifs: Adjust key sizes and key generation routines for AES256 encryption 2021-03-26 07:49:39 -05:00
smbdirect.c
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c cifs: Fix preauth hash corruption 2021-03-14 18:14:32 -05:00
unc.c
winucase.c
xattr.c