}
/*******************************************************************
- 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,
return;
}
} else {
- d = parse_share_modes(
+ d = parse_share_mode_data(
lock_ctx,
state->id,
ltdb.share_mode_data_buf,
}
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,
}
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,
return;
}
- d = parse_share_modes(
+ d = parse_share_mode_data(
talloc_tos(),
fid,
ltdb.share_mode_data_buf,