diff options
author | Gen Zhang <blackgod016574@gmail.com> | 2019-05-28 04:12:39 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-05-29 03:13:58 +0300 |
commit | 50fbc13dc12666f3604dc2555a47fc8c4e29162b (patch) | |
tree | b8bfab343386e7c7d3f096269d2eeab7620e8afd /net/unix/af_unix.c | |
parent | 6457c20e336867fc90286d35bddcc9c0b0aaa936 (diff) | |
download | linux-50fbc13dc12666f3604dc2555a47fc8c4e29162b.tar.xz |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions