diff options
author | Gen Zhang <blackgod016574@gmail.com> | 2019-05-28 09:12:39 +0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-05-28 19:13:58 -0500 |
commit | 50fbc13dc12666f3604dc2555a47fc8c4e29162b (patch) | |
tree | b8bfab343386e7c7d3f096269d2eeab7620e8afd /lib | |
parent | 6457c20e336867fc90286d35bddcc9c0b0aaa936 (diff) |
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 'lib')
0 files changed, 0 insertions, 0 deletions