1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

vfs: Remove unused last_lock_failure from files_struct

Save 72 bytes per open file handle

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2022-04-17 13:08:39 +02:00 committed by Jeremy Allison
parent 28fc44f285
commit 830b561cc9

View File

@ -367,6 +367,8 @@
* Version 47 - Add SMB_VFS_FSTATAT
* Version 47 - Change SMB_VFS_GET_REAL_FILENAME to return NTSTATUS
* Version 47 - remove st_ex_itime from struct stat_ex
* Version 47 - remove (unused) struct lock_struct last_lock_failure
from files_struct.
*/
#define SMB_VFS_INTERFACE_VERSION 47
@ -457,7 +459,6 @@ typedef struct files_struct {
struct fsp_lease *lease;
int sent_oplock_break;
struct tevent_timer *oplock_timeout;
struct lock_struct last_lock_failure;
int current_lock_count; /* Count the number of outstanding locks and pending locks. */
uint64_t posix_flags;