Brian Foster 146e54b71e 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: Brian Foster <bfoster@redhat.com>
2015-08-19 10:01:08 +10:00
..
2014-07-30 09:12:05 +10:00
2015-02-16 11:49:23 +11:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2015-06-30 20:16:08 -07:00
2013-08-12 16:53:39 -05:00
2011-08-12 16:21:35 -05:00
2015-06-22 09:44:02 +10:00
2015-06-22 09:44:02 +10:00
2011-08-12 16:21:35 -05:00
2013-08-12 16:56:06 -05:00
2015-06-30 20:16:08 -07:00
2015-06-22 09:45:10 +10:00
2015-06-04 13:48:20 +10:00
2013-05-07 18:45:36 -05:00
2015-06-04 13:48:08 +10:00
2015-03-04 16:06:38 +01:00
2015-06-04 09:19:18 +10:00
2015-02-23 21:22:31 +11:00
2015-01-09 10:47:43 +11:00
2014-09-09 11:52:42 +10:00
2013-05-07 18:45:36 -05:00