1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source3/locking
Volker Lendecke 581ebbcc31 smbd: Simplify share_mode_entry_do()
Looking at the logic of "ha[d|ve]_share_mode_entry" d->modified=true
can only happen if we remove the last share mode entry . Make this
more explicit, avoid booleans.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-06-04 16:47:34 +00:00
..
brlock.c smbd: Use ARRAY_DEL_ELEMENT() in brl_unlock_windows_default() 2020-03-26 14:43:31 +00:00
leases_db.c s3:leases: log errors with level 0 in leases_db_do_locked_fn() 2020-07-07 01:25:49 +00:00
leases_db.h smbd: Add quick leases_db_get_current_state() 2019-09-17 22:49:36 +00:00
leases_util.c s3:smbd: avoid dereferencing client->connections 2020-07-08 15:54:40 +00:00
locking.c locking: hide share_mode_lock definition 2020-11-10 21:12:48 +00:00
posix.c smbd: use fsp_get_pathref_fd() when close()ing fds 2020-12-16 09:08:30 +00:00
proto.h smbd: Give locking/share_mode_lock.c its own header file 2020-11-10 19:49:34 +00:00
share_mode_lock_private.h locking: hide share_mode_lock definition 2020-11-10 21:12:48 +00:00
share_mode_lock.c smbd: Simplify share_mode_entry_do() 2021-06-04 16:47:34 +00:00
share_mode_lock.h smbd: Make share_mode_lock.h includable on its own 2021-05-11 22:56:37 +00:00