-
- Downloads
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>
Showing
- fs/cifsd/connection.c 1 addition, 2 deletionsfs/cifsd/connection.c
- fs/cifsd/connection.h 1 addition, 1 deletionfs/cifsd/connection.h
- fs/cifsd/ksmbd_work.c 1 addition, 1 deletionfs/cifsd/ksmbd_work.c
- fs/cifsd/mgmt/ksmbd_ida.c 12 additions, 33 deletionsfs/cifsd/mgmt/ksmbd_ida.c
- fs/cifsd/mgmt/ksmbd_ida.h 5 additions, 12 deletionsfs/cifsd/mgmt/ksmbd_ida.h
- fs/cifsd/mgmt/user_session.c 6 additions, 23 deletionsfs/cifsd/mgmt/user_session.c
- fs/cifsd/mgmt/user_session.h 1 addition, 6 deletionsfs/cifsd/mgmt/user_session.h
- fs/cifsd/server.c 0 additions, 7 deletionsfs/cifsd/server.c
- fs/cifsd/smb2pdu.c 2 additions, 2 deletionsfs/cifsd/smb2pdu.c
- fs/cifsd/transport_ipc.c 11 additions, 23 deletionsfs/cifsd/transport_ipc.c
Loading
Please register or sign in to comment