]> git.baikalelectronics.ru Git - kernel.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)
committerSteve French <stfrench@microsoft.com>
Tue, 11 May 2021 00:15:36 +0000 (19:15 -0500)
commit6c383dd9897d7c65c663bea1f6619b3315e16d25
tree3ab2f6384efbefee566b560eec727803c3459ce3
parent15d14d210398d5cb5a908c9e6aa8f0247bd5c5ea
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