From 2b495c44a2abcfa9b9c7f520e0989ff72f7b651f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 15 May 2024 16:43:31 +0200 Subject: [PATCH] smbd: Fix a typo in a few places Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed May 15 17:56:24 UTC 2024 on atb-devel-224 --- source3/lib/g_lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c index f1857c35e70..77b8287273b 100644 --- a/source3/lib/g_lock.c +++ b/source3/lib/g_lock.c @@ -361,7 +361,7 @@ NTSTATUS g_lock_lock_cb_dump(struct g_lock_lock_cb_state *cb_state, { struct g_lock *lck = cb_state->lck; - /* We allow a cn_fn only for G_LOCK_WRITE for now... */ + /* We allow a cb_fn only for G_LOCK_WRITE for now... */ SMB_ASSERT(lck->num_shared == 0); fn(lck->exclusive, @@ -1019,7 +1019,7 @@ struct tevent_req *g_lock_lock_send(TALLOC_CTX *mem_ctx, }; /* - * We allow a cn_fn only for G_LOCK_WRITE for now. + * We allow a cb_fn only for G_LOCK_WRITE for now. * * It's all we currently need and it makes a few things * easier to implement. @@ -1239,7 +1239,7 @@ NTSTATUS g_lock_lock(struct g_lock_ctx *ctx, TDB_DATA key, SMB_ASSERT(!ctx->busy); /* - * We allow a cn_fn only for G_LOCK_WRITE for now. + * We allow a cb_fn only for G_LOCK_WRITE for now. * * It's all we currently need and it makes a few things * easier to implement. -- 2.34.1