fs/adfs: factor out filename comparison
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 24 Mar 2019 10:54:03 +0000 (10:54 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 31 May 2019 09:30:36 +0000 (10:30 +0100)
commit1e504cf85dddb9dd2f4c262a72277d2f9564cbea
tree7b2425721fcdc8864e14c14495a3d044a1608648
parente93c9c99a629c61837d5a7fc2120cd2b6c70dbdd
fs/adfs: factor out filename comparison

We have essentially the same code in adfs_compare() as adfs_match(), so
arrange to use a common implementation.

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