summaryrefslogtreecommitdiff
path: root/fs/cifsd/ksmbd_work.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifsd/ksmbd_work.c')
-rw-r--r--fs/cifsd/ksmbd_work.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifsd/ksmbd_work.c b/fs/cifsd/ksmbd_work.c
index 33ee52c1829f..eb8c8a34acab 100644
--- a/fs/cifsd/ksmbd_work.c
+++ b/fs/cifsd/ksmbd_work.c
@@ -53,7 +53,7 @@ void ksmbd_free_work_struct(struct ksmbd_work *work)
kfree(work->tr_buf);
kvfree(work->request_buf);
if (work->async_id)
- ksmbd_release_id(work->conn->async_ida, work->async_id);
+ ksmbd_release_id(&work->conn->async_ida, work->async_id);
kmem_cache_free(work_cache, work);
}