]> git.ipfire.org Git - u-boot.git/commit
fs: Create a common fs_devread for ext4/reiserfs/zfs
authorMarek BehĂșn <marek.behun@nic.cz>
Sun, 3 Sep 2017 15:00:24 +0000 (17:00 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 3 Oct 2017 01:51:50 +0000 (21:51 -0400)
commit5994e8b6432d1c6df1cad44771f02054dba893ff
treef718e5d025648fd3121f89710e0f814de93fe493
parent85d8bf57131a21424b50e50884372e813345f09a
fs: Create a common fs_devread for ext4/reiserfs/zfs

The ext4, reiserfs and zfs filesystems all have their own implementation
of the same function, *_devread. Generalize this function into fs_devread
and put the code into fs/fs_internal.c.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
[trini: Move fs/fs_internal.o hunk to the end of fs/Makefile as all
cases need it]
Signed-off-by: Tom Rini <trini@konsulko.com>
fs/Makefile
fs/ext4/dev.c
fs/fs_internal.c [new file with mode: 0644]
fs/reiserfs/dev.c
fs/zfs/dev.c
include/fs_internal.h [new file with mode: 0644]