summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/smp_64.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2014-06-23 03:38:49 +0200
committerSteve French <smfrench@gmail.com>2014-06-24 15:10:24 +0200
commitce36d9ab3bab06b7b5522f5c8b68fac231b76ffb (patch)
tree32752d15bb72dff8f1d7c4a8b19dd8808051f8f0 /arch/sparc/kernel/smp_64.c
parentcifs: revalidate mapping prior to satisfying read_iter request with cache=loose (diff)
downloadlinux-ce36d9ab3bab06b7b5522f5c8b68fac231b76ffb.tar.xz
linux-ce36d9ab3bab06b7b5522f5c8b68fac231b76ffb.zip
[CIFS] fix mount failure with broken pathnames when smb3 mount with mapchars option
When we SMB3 mounted with mapchars (to allow reserved characters : \ / > < * ? via the Unicode Windows to POSIX remap range) empty paths (eg when we open "" to query the root of the SMB3 directory on mount) were not null terminated so we sent garbarge as a path name on empty paths which caused SMB2/SMB2.1/SMB3 mounts to fail when mapchars was specified. mapchars is particularly important since Unix Extensions for SMB3 are not supported (yet) Signed-off-by: Steve French <smfrench@gmail.com> Cc: <stable@vger.kernel.org> Reviewed-by: David Disseldorp <ddiss@suse.de>
Diffstat (limited to 'arch/sparc/kernel/smp_64.c')
0 files changed, 0 insertions, 0 deletions