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>
Showing
- fs/Makefile 1 addition, 0 deletionsfs/Makefile
- fs/ext4/dev.c 5 additions, 79 deletionsfs/ext4/dev.c
- fs/fs_internal.c 92 additions, 0 deletionsfs/fs_internal.c
- fs/reiserfs/dev.c 4 additions, 74 deletionsfs/reiserfs/dev.c
- fs/zfs/dev.c 3 additions, 83 deletionsfs/zfs/dev.c
- include/fs_internal.h 17 additions, 0 deletionsinclude/fs_internal.h
Loading
Please register or sign in to comment