mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
This patch replaces percpu_ref_kill() with percpu_ref_kill_and_confirm() to guarantee safe usage of references in atomic mode immediately afterwards. This change ensures accurate checking of active commands following the initial reference killing. Reported-by: Lev Vainblat <lev@zadarastorage.com>