From 5994e8b6432d1c6df1cad44771f02054dba893ff Mon Sep 17 00:00:00 2001 From: Marek BehĂșn Date: Sun, 3 Sep 2017 17:00:24 +0200 Subject: 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 [trini: Move fs/fs_internal.o hunk to the end of fs/Makefile as all cases need it] Signed-off-by: Tom Rini --- fs/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/Makefile') diff --git a/fs/Makefile b/fs/Makefile index 5770f41c0b..b53c9d7cca 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -23,3 +23,4 @@ obj-$(CONFIG_CMD_UBIFS) += ubifs/ obj-$(CONFIG_YAFFS2) += yaffs2/ obj-$(CONFIG_CMD_ZFS) += zfs/ endif +obj-y += fs_internal.o -- cgit v1.2.3