Commit a7c066a3 authored by Alice Ryhl's avatar Alice Ryhl
Browse files

ANDROID: rust_binder: access lru list through private data



When changing Rust Binder to use the new alloc_shrinker(), the layout
was changed so that lru_list is no longer stored next to the shrinker
object, but some shrinker callbacks were not updated to reflect that.
Thus, access the lru list through the shrinker's private data pointer,
instead of using a container_of operation.

Bug: 424727800
Change-Id: Iac09b2d81e555c3554101231de701dfa79b0e644
Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
parent cf1ef612
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment