summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd/connection.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2022-07-22 03:15:10 +0200
committerSteve French <stfrench@microsoft.com>2022-07-27 06:38:05 +0200
commite4d3e6b524c0c928f7fc9e03e047885c4951ae60 (patch)
tree336f75e8301d0be3c91125992a99a5a74e03fe77 /fs/ksmbd/connection.h
parentMAINTAINERS: ksmbd: add entry for documentation (diff)
downloadlinux-e4d3e6b524c0c928f7fc9e03e047885c4951ae60.tar.xz
linux-e4d3e6b524c0c928f7fc9e03e047885c4951ae60.zip
ksmbd: replace sessions list in connection with xarray
Replace sessions list in connection with xarray. 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/connection.h')
-rw-r--r--fs/ksmbd/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ksmbd/connection.h b/fs/ksmbd/connection.h
index 98c1cbe45ec9..5b39f0bdeff8 100644
--- a/fs/ksmbd/connection.h
+++ b/fs/ksmbd/connection.h
@@ -55,7 +55,7 @@ struct ksmbd_conn {
struct nls_table *local_nls;
struct list_head conns_list;
/* smb session 1 per user */
- struct list_head sessions;
+ struct xarray sessions;
unsigned long last_active;
/* How many request are running currently */
atomic_t req_running;