From 34b4effc04b44e22809227479da2d794ac88e447 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Fri, 3 Apr 2020 08:01:45 +0200 Subject: [PATCH] smbd: move files_struct.backup_intent to a bitfield Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/include/vfs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. */ -- 2.47.3