android_kernel_oneplus_msm8998/fs/hostfs
Dan Carpenter 7b251d3404 hostfs: Freeing an ERR_PTR in hostfs_fill_sb_common()
commit 8a545f185145e3c09348cd74326268ecfc6715a3 upstream.

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>
2016-09-30 10:18:39 +02:00
..
hostfs.h um: hostfs: Reduce number of syscalls in readdir 2015-04-13 21:01:07 +02:00
hostfs_kern.c hostfs: Freeing an ERR_PTR in hostfs_fill_sb_common() 2016-09-30 10:18:39 +02:00
hostfs_user.c um: hostfs: Reduce number of syscalls in readdir 2015-04-13 21:01:07 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00