From: Ralph Boehme Date: Tue, 28 Jan 2025 04:52:59 +0000 (+0100) Subject: s3/locking: parse_share_modes() -> parse_share_mode_data() X-Git-Tag: tevent-0.17.0~410 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f12f0d1d94e29e4fe18de06e7eec2ffe6b1a5dcc;p=thirdparty%2Fsamba.git s3/locking: parse_share_modes() -> parse_share_mode_data() Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c index 0bd4cbba711..b3dbb63c5af 100644 --- a/source3/locking/share_mode_lock.c +++ b/source3/locking/share_mode_lock.c @@ -558,10 +558,10 @@ static NTSTATUS locking_tdb_data_store( } /******************************************************************* - Get all share mode entries for a dev/inode pair. + Get share_mode_data for a dev/inode pair. ********************************************************************/ -static struct share_mode_data *parse_share_modes( +static struct share_mode_data *parse_share_mode_data( TALLOC_CTX *mem_ctx, struct file_id id, const uint8_t *buf, @@ -837,7 +837,7 @@ static void get_static_share_mode_data_fn( return; } } else { - d = parse_share_modes( + d = parse_share_mode_data( lock_ctx, state->id, ltdb.share_mode_data_buf, @@ -1485,7 +1485,7 @@ static void fetch_share_mode_unlocked_parser( } state->lck->id = state->id; - state->lck->cached_data = parse_share_modes( + state->lck->cached_data = parse_share_mode_data( state->lck, state->id, ltdb.share_mode_data_buf, @@ -1624,7 +1624,7 @@ static void fetch_share_mode_fn( } state->lck->id = state->id, - state->lck->cached_data = parse_share_modes( + state->lck->cached_data = parse_share_mode_data( state->lck, state->id, ltdb.share_mode_data_buf, @@ -1725,7 +1725,7 @@ static void share_mode_forall_dump_fn( return; } - d = parse_share_modes( + d = parse_share_mode_data( talloc_tos(), fid, ltdb.share_mode_data_buf,