OpenCloudOS-Kernel/fs/adfs
Russell King a317120bf7 fs/adfs: dir: add generic copy functions
Directories can span multiple buffers, and we currently open-code
memcpy access to these buffers, including dealing with entries that
are split across multiple buffers.  Such code exists in both
directory format implementations.

Provide common functions to allow data to be copied from/to the
directory buffers as if they were a contiguous set of buffers, and
use them when accessing directories.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2020-01-20 20:12:41 -05:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
adfs.h fs/adfs: dir: add generic copy functions 2020-01-20 20:12:41 -05:00
dir.c fs/adfs: dir: add generic copy functions 2020-01-20 20:12:41 -05:00
dir_f.c fs/adfs: dir: add generic copy functions 2020-01-20 20:12:41 -05:00
dir_f.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
dir_fplus.c fs/adfs: dir: add generic copy functions 2020-01-20 20:12:41 -05:00
dir_fplus.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
file.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
inode.c fs/adfs: inode: fix adfs_mode2atts() 2020-01-20 20:12:40 -05:00
map.c fs/adfs: map: fix map scanning 2020-01-20 20:12:40 -05:00
super.c fs/adfs: map: move map-specific sb initialisation to map.c 2020-01-20 20:12:40 -05:00