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

s3:vfs: add VFS_RENAME_HOW_NO_REPLACE

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15693

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2024-08-07 13:05:07 +02:00
parent 5b305d1fbb
commit adc8dea944

View File

@ -383,6 +383,7 @@
* Version 49 - remove "sbuf" argument from readdir_fn()
* Change to Version 50 - will ship with 4.22
* Version 50 - Change SMB_VFS_RENAMEAT() add vfs_rename_how
* Version 50 - Add VFS_RENAME_HOW_NO_REPLACE to vfs_rename_how
*/
#define SMB_VFS_INTERFACE_VERSION 50
@ -920,6 +921,8 @@ struct vfs_open_how {
uint64_t resolve;
};
#define VFS_RENAME_HOW_NO_REPLACE 1
struct vfs_rename_how {
int flags;
};