commit | b0ad6cda2040c8414a6ef847947c2a5ff1e614c7 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Nov 19 23:49:21 2017 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Nov 29 22:30:50 2017 -0500 |
tree | a7e03593cbaff32b04b97c716428e629d016c3ba | |
parent | 9dc1907547a43808e366e93d8db4237161e749f8 [diff] |
fs: avoid possible NULL dereference in fs_devread 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>