]> git.baikalelectronics.ru Git - kernel.git/commit
fs/adfs: remove truncated filename hashing
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 24 Mar 2019 11:02:02 +0000 (11:02 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 31 May 2019 09:31:00 +0000 (10:31 +0100)
commita42bf524f98964278bd8a7a38b78509a56461c52
treec34b4ed251a6a2ab3b5ad8c71fc7b3fc5f0f3957
parent41673775febe8fd59f2022326b89b49c3c6bb527
fs/adfs: remove truncated filename hashing

fs/adfs support for truncated filenames is broken, and there is a desire
not to support this into the future.  Let's remove the fs/adfs support
for this.

Viro says:

"FWIW, the word from Linus had been basically "kill it off" on
truncation."

That being:

"Make it so. Make the rule be that d_hash() can only change the hash
itself, rather than the subtle special case for len that we had
because of legacy reasons.."

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