diff options
author | Denis Efremov <efremov@linux.com> | 2020-06-10 01:14:46 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-06-18 12:33:18 -0700 |
commit | 742532d11d8328231d099f557e6287e75b2d247b (patch) | |
tree | 4697e754226fde2ee76f6fa3f8756d833845b494 /security/lockdown | |
parent | 99bbe307013059951368d12f5454d34568de4850 (diff) |
f2fs: use kfree() instead of kvfree() to free superblock data
Use kfree() instead of kvfree() to free super in read_raw_super_block()
because the memory is allocated with kzalloc() in the function.
Use kfree() instead of kvfree() to free sbi, raw_super in
f2fs_fill_super() and f2fs_put_super() because the memory is allocated
with kzalloc().
Signed-off-by: Denis Efremov <efremov@linux.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'security/lockdown')
0 files changed, 0 insertions, 0 deletions