Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-29 | fs: avoid possible NULL dereference in fs_devread | Heinrich Schuchardt | |
It is unwise to first dereference a variable and then to check if it was NULL. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Marek Behun <marek.behun@nic.cz> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> | |||
2017-10-02 | fs: Create a common fs_devread for ext4/reiserfs/zfs | Marek BehĂșn | |
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> |