diff options
| author | Gen Zhang <[email protected]> | 2019-05-28 01:12:39 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2019-05-29 00:13:58 +0000 |
| commit | 50fbc13dc12666f3604dc2555a47fc8c4e29162b (patch) | |
| tree | b8bfab343386e7c7d3f096269d2eeab7620e8afd /fs/proc/array.c | |
| parent | fs/cifs/smb2pdu.c: fix buffer free in SMB2_ioctl_free (diff) | |
| download | kernel-50fbc13dc12666f3604dc2555a47fc8c4e29162b.tar.gz kernel-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 <[email protected]>
Reviewed-by: Paulo Alcantara <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
