aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ordered-data.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2020-02-05 16:34:34 +0000
committerDavid Sterba <[email protected]>2020-03-23 16:01:34 +0000
commitbf31f87f71cc7a89871ab0a451c047a0c0144bf1 (patch)
treefdca5c6ceff6356ea7ac35b8125fb30f2153e663 /fs/btrfs/ordered-data.c
parentbtrfs: move root node locking helpers to locking.c (diff)
downloadkernel-bf31f87f71cc7a89871ab0a451c047a0c0144bf1.tar.gz
kernel-bf31f87f71cc7a89871ab0a451c047a0c0144bf1.zip
btrfs: add wrapper for transaction abort predicate
The status of aborted transaction can change between calls and it needs to be accessed by READ_ONCE. Add a helper that also wraps the unlikely hint. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/ordered-data.c')
0 files changed, 0 insertions, 0 deletions