]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix a few typos
authorVolker Lendecke <vl@samba.org>
Thu, 25 Nov 2021 15:52:41 +0000 (16:52 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 5 Jan 2022 00:11:37 +0000 (00:11 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fake_acls.c
source3/smbd/filename.c
source3/smbd/files.c

index f7b6e3ba220d58bc1aaa8ba4f916438081a09442..441e22ea3f61c96081b528f5b09103a154b23a68 100644 (file)
@@ -668,7 +668,7 @@ static int fake_acls_connect(struct vfs_handle_struct *handle,
        }
        /*
         * Create a struct can tell us if we're recursing
-        * into open_pathref_fsp() in this module. This will
+        * into openat_pathref_fsp() in this module. This will
         * go away once we have SMB_VFS_STATX() and we will
         * have a way for a caller to as for specific stat
         * fields in a granular way. Then we will know exactly
index 4c5dbbfacbd1107d5bde50e0019651f35e48157e..327df426e12c4808b86e312ee6aee2ce5cf8125f 100644 (file)
@@ -1968,7 +1968,7 @@ NTSTATUS filename_convert(TALLOC_CTX *ctx,
                }
        }
        if (!NT_STATUS_IS_OK(status)) {
-               DBG_DEBUG("open_pathref_fsp [%s] failed: %s\n",
+               DBG_DEBUG("openat_pathref_fsp [%s] failed: %s\n",
                          smb_fname_str_dbg(smb_fname),
                          nt_errstr(status));
                return status;
index 90bc49155a4edf09007a2802c75e818c85f51f42..36d4497b3d8ef44e9dfec57130b90431e5461066 100644 (file)
@@ -287,7 +287,7 @@ NTSTATUS open_internal_dirfsp(connection_struct *conn,
  * sense. It's a object that "links" together an fsp and an smb_fname
  * and the link allocated as talloc child of an fsp.
  *
- * The link is created for fsps that open_pathref_fsp() returns in
+ * The link is created for fsps that openat_pathref_fsp() returns in
  * smb_fname->fsp. When this fsp is freed by file_free() by some caller
  * somewhere, the destructor fsp_smb_fname_link_destructor() on the link object
  * will use the link to reset the reference in smb_fname->fsp that is about to