Commit c7c090af authored by Alice Ryhl's avatar Alice Ryhl Committed by Greg Kroah-Hartman
Browse files

rust_binder: remove warning about orphan mappings



This condition occurs if a thread dies while processing a transaction.
We should not print anything in this scenario.

Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
Reviewed-by: default avatarJoel Fernandes <joelagnelf@nvidia.com>
Acked-by: default avatarCarlos Llamas <cmllamas@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7e69a24b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1346,10 +1346,6 @@ fn deferred_release(self: Arc<Self>) {
                .alloc
                .take_for_each(|offset, size, debug_id, odata| {
                    let ptr = offset + address;
                    pr_warn!(
                        "{}: removing orphan mapping {offset}:{size}\n",
                        self.pid_in_current_ns()
                    );
                    let mut alloc =
                        Allocation::new(self.clone(), debug_id, offset, size, ptr, false);
                    if let Some(data) = odata {