]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: use kfree() to free variables allocated by match_strdup()
authorWang Xiaojun <wangxiaojun11@huawei.com>
Wed, 17 Jun 2020 12:30:12 +0000 (20:30 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 18 Jun 2020 19:37:47 +0000 (12:37 -0700)
commitb5879ac3c41ac191881ab1cea595318daa57eb55
tree895a8d0c8a1ff9854ec11e4e5e4a7974075a961a
parent8401bc4c277e994548f233d8e59bfd382deced71
f2fs: use kfree() to free variables allocated by match_strdup()

Use kfree() instead of kvfree() to free variables allocated
by match_strdup(). Because the memory is allocated with kmalloc
inside match_strdup().

Signed-off-by: Wang Xiaojun <wangxiaojun11@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c