commit | 742532d11d8328231d099f557e6287e75b2d247b | [log] [tgz] |
---|---|---|
author | Denis Efremov <efremov@linux.com> | Wed Jun 10 01:14:46 2020 +0300 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Jun 18 12:33:18 2020 -0700 |
tree | 4697e754226fde2ee76f6fa3f8756d833845b494 | |
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>