diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-13 13:12:34 +0300 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:58:22 +0200 |
| commit | c55811e46bff749df87b204f45235bad3d1aff23 (patch) | |
| tree | 75b35fd60f718da54fcdc5201c29d00ad100b843 /drivers/base | |
| parent | c5fd5703915ef2541d02e6f8648725d5a0541dfd (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: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions
