summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBoris Protopopov <pboris@amazon.com>2020-09-24 00:36:38 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-18 18:26:32 +0100
commitb5050c0486b7478078be5ea7a746e7c726025b61 (patch)
treec23e09e241c0e613c9d68c30476bf5d8d75f5c54 /tools
parent09424dab92413d8f10e880107aef5faaa5e547ef (diff)
Convert trailing spaces and periods in path components
commit 57c176074057531b249cf522d90c22313fa74b0b upstream. When converting trailing spaces and periods in paths, do so for every component of the path, not just the last component. If the conversion is not done for every path component, then subsequent operations in directories with trailing spaces or periods (e.g. create(), mkdir()) will fail with ENOENT. This is because on the server, the directory will have a special symbol in its name, and the client needs to provide the same. Signed-off-by: Boris Protopopov <pboris@amazon.com> Acked-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions