1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

smbd: rename create_internal_dirfsp_at() to create_internal_dirfsp()

Having removed the unused dirfsp parameter this is not an AT function.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-05-15 15:14:26 +02:00
parent 84cf205ff4
commit 8883dacb12
3 changed files with 10 additions and 10 deletions

View File

@ -1956,9 +1956,9 @@ static int shadow_copy2_get_shadow_copy_data(
goto done;
}
status = create_internal_dirfsp_at(handle->conn,
snapdir_smb_fname,
&dirfsp);
status = create_internal_dirfsp(handle->conn,
snapdir_smb_fname,
&dirfsp);
if (!NT_STATUS_IS_OK(status)) {
DBG_WARNING("create_internal_dir_fsp() failed for '%s'"
" - %s\n", snapdir, nt_errstr(status));

View File

@ -176,9 +176,9 @@ NTSTATUS file_new(struct smb_request *req, connection_struct *conn,
* This should only be used by callers in the VFS that need to control the
* opening of the directory. Otherwise use open_internal_dirfsp_at().
*/
NTSTATUS create_internal_dirfsp_at(connection_struct *conn,
const struct smb_filename *smb_dname,
struct files_struct **_fsp)
NTSTATUS create_internal_dirfsp(connection_struct *conn,
const struct smb_filename *smb_dname,
struct files_struct **_fsp)
{
struct files_struct *fsp = NULL;
NTSTATUS status;
@ -227,7 +227,7 @@ NTSTATUS open_internal_dirfsp(connection_struct *conn,
struct files_struct *fsp = NULL;
NTSTATUS status;
status = create_internal_dirfsp_at(conn, smb_dname, &fsp);
status = create_internal_dirfsp(conn, smb_dname, &fsp);
if (!NT_STATUS_IS_OK(status)) {
return status;
}

View File

@ -447,9 +447,9 @@ NTSTATUS fsp_set_smb_fname(struct files_struct *fsp,
const struct smb_filename *smb_fname_in);
size_t fsp_fullbasepath(struct files_struct *fsp, char *buf, size_t buflen);
NTSTATUS create_internal_dirfsp_at(connection_struct *conn,
const struct smb_filename *smb_dname,
struct files_struct **_fsp);
NTSTATUS create_internal_dirfsp(connection_struct *conn,
const struct smb_filename *smb_dname,
struct files_struct **_fsp);
NTSTATUS open_internal_dirfsp(connection_struct *conn,
const struct smb_filename *smb_dname,