Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hostfs: Freeing an ERR_PTR in hostfs_fill_sb_common()
commit 8a545f1 upstream. We can't pass error pointers to kfree() or it causes an oops. Fixes: 52b209f ('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>
- Loading branch information