summaryrefslogtreecommitdiff
path: root/fs/ksmbd/mgmt/user_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ksmbd/mgmt/user_config.c')
-rw-r--r--fs/ksmbd/mgmt/user_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ksmbd/mgmt/user_config.c b/fs/ksmbd/mgmt/user_config.c
index d21629ae5c89..1019d3677d55 100644
--- a/fs/ksmbd/mgmt/user_config.c
+++ b/fs/ksmbd/mgmt/user_config.c
@@ -55,7 +55,7 @@ struct ksmbd_user *ksmbd_alloc_user(struct ksmbd_login_response *resp)
void ksmbd_free_user(struct ksmbd_user *user)
{
- ksmbd_ipc_logout_request(user->name);
+ ksmbd_ipc_logout_request(user->name, user->flags);
kfree(user->name);
kfree(user->passkey);
kfree(user);