ksmbd: add channel rwlock
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 22 Jul 2022 01:15:57 +0000 (10:15 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 27 Jul 2022 04:38:05 +0000 (23:38 -0500)
commit8e06b31e348107c5d78e2c90bb7e69388cb97fb6
tree374e7f18ad234a149295de41681ba0f28d07034b
parente4d3e6b524c0c928f7fc9e03e047885c4951ae60
ksmbd: add channel rwlock

Add missing rwlock for channel list in session.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/mgmt/user_session.c
fs/ksmbd/mgmt/user_session.h
fs/ksmbd/smb2pdu.c