]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
btrfs: Use newly introduced btrfs_lock_and_flush_ordered_range
authorNikolay Borisov <nborisov@suse.com>
Tue, 7 May 2019 07:19:23 +0000 (10:19 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:34:59 +0000 (13:34 +0200)
commit23d31bd476d1d096d0f073483547872ec155ab34
tree8b87d3dc9118dce18703a7594775023f54383f6f
parentffa87214c1100c7ea38e85a3cf981d0d47b1c744
btrfs: Use newly introduced btrfs_lock_and_flush_ordered_range

There several functions which open code
btrfs_lock_and_flush_ordered_range, just replace them with a call to the
function. No functional changes.

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>
fs/btrfs/extent_io.c
fs/btrfs/file.c
fs/btrfs/inode.c