diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2022-07-22 10:15:57 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-07-26 23:38:05 -0500 |
commit | 8e06b31e348107c5d78e2c90bb7e69388cb97fb6 (patch) | |
tree | 374e7f18ad234a149295de41681ba0f28d07034b /fs/ksmbd/mgmt/user_session.h | |
parent | e4d3e6b524c0c928f7fc9e03e047885c4951ae60 (diff) | |
download | linux-8e06b31e348107c5d78e2c90bb7e69388cb97fb6.tar.gz |
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>
Diffstat (limited to 'fs/ksmbd/mgmt/user_session.h')
-rw-r--r-- | fs/ksmbd/mgmt/user_session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ksmbd/mgmt/user_session.h b/fs/ksmbd/mgmt/user_session.h index 8b08189be3fc..1ec659f0151b 100644 --- a/fs/ksmbd/mgmt/user_session.h +++ b/fs/ksmbd/mgmt/user_session.h @@ -48,6 +48,7 @@ struct ksmbd_session { char sess_key[CIFS_KEY_SIZE]; struct hlist_node hlist; + rwlock_t chann_lock; struct list_head ksmbd_chann_list; struct xarray tree_conns; struct ida tree_conn_ida; |