diff options
author | Nikolay Borisov <nborisov@suse.com> | 2019-05-07 10:19:22 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-01 14:34:59 +0300 |
commit | ffa87214c1100c7ea38e85a3cf981d0d47b1c744 (patch) | |
tree | 6f8e12740a03383376cb4321fef14eeeeb3034e6 /mm/memfd.c | |
parent | 1200b51f57dca934cfd78969f460d636ec0fb838 (diff) | |
download | linux-ffa87214c1100c7ea38e85a3cf981d0d47b1c744.tar.xz |
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>
Diffstat (limited to 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions