Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 146e54b7 authored by Brian Foster's avatar Brian Foster Committed by Dave Chinner
Browse files

xfs: add helper to conditionally remove items from the AIL



Several areas of code duplicate a pattern where we take the AIL lock,
check whether an item is in the AIL and remove it if so. Create a new
helper for this pattern and use it where appropriate.

Signed-off-by: default avatarBrian Foster <bfoster@redhat.com>
parent f307080a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment