Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fs: avoid possible NULL dereference in fs_devread | Heinrich Schuchardt | 2017-11-29 | 1 | -1/+2 |
| | | | | | | | | | 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> | ||||
* | fs: Create a common fs_devread for ext4/reiserfs/zfs | Marek BehĂșn | 2017-10-02 | 1 | -0/+92 |
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> |