mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
commit8a545f1851upstream. We can't pass error pointers to kfree() or it causes an oops. Fixes:52b209f7b8('get rid of hostfs_read_inode()') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>