summaryrefslogtreecommitdiff
path: root/fs/ksmbd/connection.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2022-07-22 10:15:10 +0900
committerSteve French <stfrench@microsoft.com>2022-07-26 23:38:05 -0500
commite4d3e6b524c0c928f7fc9e03e047885c4951ae60 (patch)
tree336f75e8301d0be3c91125992a99a5a74e03fe77 /fs/ksmbd/connection.h
parent8849e7545322c99c6b4fc3674b57e3117a3bd5dd (diff)
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;