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)
committerSteve French <stfrench@microsoft.com>
Tue, 11 May 2021 00:15:36 +0000 (19:15 -0500)
commit822bc8ea514ecd4a8bbb86237858146ca8845eba
tree3ab2f6384efbefee566b560eec727803c3459ce3
parentc250e8f5566f2e1a0ea177837520eff8e59c0b7d
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