From: Ralph Boehme Date: Fri, 3 Apr 2020 06:01:45 +0000 (+0200) Subject: smbd: move files_struct.backup_intent to a bitfield X-Git-Tag: ldb-2.2.0~985 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34b4effc04b44e22809227479da2d794ac88e447;p=thirdparty%2Fsamba.git smbd: move files_struct.backup_intent to a bitfield Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/include/vfs.h b/source3/include/vfs.h index f3810736ba9..ec3bbb44465 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -371,6 +371,7 @@ typedef struct files_struct { bool initial_delete_on_close : 1; bool delete_on_close : 1; bool is_sparse : 1; + bool backup_intent : 1; } fsp_flags; struct tevent_timer *update_write_time_event; @@ -392,8 +393,6 @@ typedef struct files_struct { int current_lock_count; /* Count the number of outstanding locks and pending locks. */ uint64_t posix_flags; - bool backup_intent; /* Handle was successfully opened with backup intent - and opener has privilege to do so. */ bool use_ofd_locks; /* Are we using open file description locks ? */ struct smb_filename *fsp_name; uint32_t name_hash; /* Jenkins hash of full pathname. */