summaryrefslogtreecommitdiff
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2015-08-19 03:01:08 +0300
committerDave Chinner <david@fromorbit.com>2015-08-19 03:01:08 +0300
commit146e54b71ea4b998d65c25964807ff6792bbf436 (patch)
tree2fc5a2db363067cbdec6718318769d188c11a161 /block/blk-throttle.c
parentf307080a626569f89bc8fbad9f936b307aded877 (diff)
downloadlinux-146e54b71ea4b998d65c25964807ff6792bbf436.tar.xz
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>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions