fs/adfs: fix filename fixup handling for "/" and "//" names
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 24 Mar 2019 14:00:35 +0000 (14:00 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 31 May 2019 09:31:07 +0000 (10:31 +0100)
commitfc722a0429f4e8a316e1992dcff6c78f45a25158
treead140ce9f28637a4f9a448665eb46d6baf48be8b
parent5f8de4875c3522addcde6e98f978e0414c16478d
fs/adfs: fix filename fixup handling for "/" and "//" names

Avoid translating "/" and "//" directory entry names to the special
"." and ".." names by instead converting the first character to "^".

Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
fs/adfs/dir.c