commit | ffa87214c1100c7ea38e85a3cf981d0d47b1c744 | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Tue May 07 10:19:22 2019 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Jul 01 13:34:59 2019 +0200 |
tree | 6f8e12740a03383376cb4321fef14eeeeb3034e6 | |
parent | 1200b51f57dca934cfd78969f460d636ec0fb838 [diff] |
btrfs: add new helper btrfs_lock_and_flush_ordered_range There is a certain idiom used in multiple places in btrfs' codebase, dealing with flushing an ordered range. Factor this in a separate function that can be reused. Future patches will replace the existing code with that function. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>