diff options
author | Gen Zhang | 2019-05-28 03:12:39 +0200 |
---|---|---|
committer | Steve French | 2019-05-29 02:13:58 +0200 |
commit | 50fbc13dc12666f3604dc2555a47fc8c4e29162b (patch) | |
tree | b8bfab343386e7c7d3f096269d2eeab7620e8afd /drivers/scsi/ipr.c | |
parent | fs/cifs/smb2pdu.c: fix buffer free in SMB2_ioctl_free (diff) | |
download | kernel-qcow2-linux-50fbc13dc12666f3604dc2555a47fc8c4e29162b.tar.gz kernel-qcow2-linux-50fbc13dc12666f3604dc2555a47fc8c4e29162b.tar.xz kernel-qcow2-linux-50fbc13dc12666f3604dc2555a47fc8c4e29162b.zip |
dfs_cache: fix a wrong use of kfree in flush_cache_ent()
In flush_cache_ent(), 'ce->ce_path' is allocated by kstrdup_const().
It should be freed by kfree_const(), rather than kfree().
Signed-off-by: Gen Zhang <blackgod016574@gmail.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions