summaryrefslogtreecommitdiff
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-07-13 13:12:34 +0300
committerBen Hutchings <ben@decadent.org.uk>2016-11-20 01:17:04 +0000
commit221a53933dc4a7aadb08c7fb5a28fcaa212a365b (patch)
tree817a66d81ddc727b0988b275756d461c02dbdbb4 /include/linux/miscdevice.h
parent151ff7c687be4268a9cd591aa2aa35004dae0c61 (diff)
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: 52b209f7b848 ('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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/miscdevice.h')
0 files changed, 0 insertions, 0 deletions