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

smb: rename NTCREATEX_OPTIONS_PRIVATE_STREAM_BASEOPEN to NTCREATEX_FLAG_STREAM_BASEOPEN

Just a shorter name, no change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-10-23 13:08:50 +02:00 committed by Jeremy Allison
parent 4481259f78
commit 45017205c3
3 changed files with 3 additions and 3 deletions

View File

@ -412,7 +412,7 @@ Offset Data length.
#define NTCREATEX_FLAG_DELETE_ON_CLOSE 0x0008
/* Private option for streams support */
#define NTCREATEX_OPTIONS_PRIVATE_STREAM_BASEOPEN 0x0010
#define NTCREATEX_FLAG_STREAM_BASEOPEN 0x0010
/* Flag for NT transact rename call. */
#define RENAME_REPLACE_IF_EXISTS 1

View File

@ -1069,7 +1069,7 @@ static bool file_has_open_streams_fn(
struct file_has_open_streams_state *state = private_data;
if ((e->private_options &
NTCREATEX_OPTIONS_PRIVATE_STREAM_BASEOPEN) == 0) {
NTCREATEX_FLAG_STREAM_BASEOPEN) == 0) {
return false;
}

View File

@ -5600,7 +5600,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
}
}
base_privflags = NTCREATEX_OPTIONS_PRIVATE_STREAM_BASEOPEN;
base_privflags = NTCREATEX_FLAG_STREAM_BASEOPEN;
/* Open the base file. */
status = create_file_unixpath(conn,