cifsd: declare ida statically
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 13 Apr 2021 04:06:30 +0000 (13:06 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 11 May 2021 00:15:39 +0000 (19:15 -0500)
commitd40012a83f87f47967ad0b3c346179c7e5339ae7
treedb996f57ce865ef62f03d8ff1ab1b4d5f94970a7
parent1920bb1f8022202530eeae3e488d6f5156799faf
cifsd: declare ida statically

Matthew pointed out that embedding struct ida into the struct is
better than having a pointer to it.
This patch initialise it statically using DEFINE_IDA() or ida_init()
and remove ksmbd_ida_alloc/free().

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/connection.c
fs/cifsd/connection.h
fs/cifsd/ksmbd_work.c
fs/cifsd/mgmt/ksmbd_ida.c
fs/cifsd/mgmt/ksmbd_ida.h
fs/cifsd/mgmt/user_session.c
fs/cifsd/mgmt/user_session.h
fs/cifsd/server.c
fs/cifsd/smb2pdu.c
fs/cifsd/transport_ipc.c