]> git.baikalelectronics.ru Git - uboot.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)
commit226b7ec71c36db24a0525a79c7c71ea952a29208
treef718e5d025648fd3121f89710e0f814de93fe493
parent367f83b4b41508e90a31d0074efedce79953596b
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]