]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifsd: use kfree to free memory allocated by kmalloc or kzalloc
authorMuhammad Usama Anjum <musamaanjum@gmail.com>
Fri, 2 Apr 2021 00:25:35 +0000 (09:25 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Mon, 12 Apr 2021 05:32:16 +0000 (14:32 +0900)
commitf2f0c0a2026a4b227736e4531cecaa8969efa5d4
treee313e019736b0140cb04da6319ac8611b4a953ed
parent56188896a5bc35939507a2cd919484ed555cb8f1
cifsd: use kfree to free memory allocated by kmalloc or kzalloc

kfree should be used to free memory allocated by kmalloc or kzalloc to
avoid any overhead and for maintaining consistency.

Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/buffer_pool.c
fs/cifsd/mgmt/share_config.c
fs/cifsd/mgmt/user_config.c
fs/cifsd/mgmt/user_session.c
fs/cifsd/smb2pdu.c
fs/cifsd/transport_tcp.c
fs/cifsd/vfs_cache.c