Currently we have
vfs_default_durable_reconnect_fn()
and
durable_reconnect_fn
which can be a bit confusing when reading the code for the first time (or even
multiple times...).
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
struct share_mode_entry *e;
};
-static bool durable_reconnect_fn(
+static bool share_mode_entry_durable_reconnect_cb(
struct share_mode_entry *e,
bool *modified,
void *private_data)
int ret;
bool ok;
- ok = share_mode_forall_entries(lck, durable_reconnect_fn, &rstate);
+ ok = share_mode_forall_entries(lck,
+ share_mode_entry_durable_reconnect_cb,
+ &rstate);
if (!ok) {
DBG_WARNING("share_mode_forall_entries failed\n");
state->status = NT_STATUS_INTERNAL_DB_ERROR;