summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-07-13 13:12:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-30 10:12:48 +0200
commit6eeab2dc304a732722f77061ae364d102732943d (patch)
tree0ead8e1851bacedc87f14a60dae1f2433be18ff4 /mm
parentcb106d2a2c6b3d1d2459c0807b0d944983cbcc05 (diff)
downloadlwn-6eeab2dc304a732722f77061ae364d102732943d.tar.gz
lwn-6eeab2dc304a732722f77061ae364d102732943d.zip
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions