Skip to content
Snippets Groups Projects
Commit 8a545f18 authored by Dan Carpenter's avatar Dan Carpenter Committed by Richard Weinberger
Browse files

hostfs: Freeing an ERR_PTR in hostfs_fill_sb_common()


We can't pass error pointers to kfree() or it causes an oops.

Fixes: 52b209f7 ('get rid of hostfs_read_inode()')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 915eed20
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment