fs/adfs: newdir: merge adfs_dir_read() into adfs_f_read()
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 9 Dec 2019 11:10:37 +0000 (11:10 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Jan 2020 01:12:41 +0000 (20:12 -0500)
commit9318731bec8d38bdbe701d395cf103157046831d
tree02718cd6a751af610659ac5043cfccd42b7d5f15
parent7a0e4048bfd16848ac115b17f49a3df7993a2fac
fs/adfs: newdir: merge adfs_dir_read() into adfs_f_read()

adfs_dir_read() is only called from adfs_f_read(), so merge it into
that function.  As new directories are always 2048 bytes in size,
(which we rely on elsewhere) we can consolidate some of the code.

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