I think bi_entry_get_rw() needs work.
Or maybe phase it out in favor of some other call?
In fact, as also discussed in ITS#5628, callers either return the
entry or have no means to modify the arguments of the request.
It has more troubles than that. See e.g. the notes about passing rw=1
(write) to it here:
And there is no equivalent of the REP_ENTRY_MUSTRELEASE flag which
says to pass an rw=1 argument to bi_entry_release_rw().