commit | bf31f87f71cc7a89871ab0a451c047a0c0144bf1 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Wed Feb 05 17:34:34 2020 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:34 2020 +0100 |
tree | fdca5c6ceff6356ea7ac35b8125fb30f2153e663 | |
parent | b908c334e7a419e5cd08a45d31284b4a93de3bd7 [diff] |
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 <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>