summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/locking.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-07-22 10:09:25 +0200
committerDavid Sterba <dsterba@suse.com>2020-10-07 12:12:15 +0200
commitb9ba017fb0771f67903d70f57908899d7b0020b1 (patch)
treea022f6b31a97dae8caa645d554f2812e85f09133 /fs/btrfs/locking.c
parentbtrfs: remove redundant code from btrfs_free_stale_devices (diff)
downloadlinux-b9ba017fb0771f67903d70f57908899d7b0020b1.tar.xz
linux-b9ba017fb0771f67903d70f57908899d7b0020b1.zip
btrfs: don't opencode sync_blockdev in btrfs_init_new_device
Instead of opencoding filemap_write_and_wait simply call syncblockdev as it makes it abundantly clear what's going on and why this is used. No semantics changes. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Anand Jain <anand.jain@oracle.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 'fs/btrfs/locking.c')
0 files changed, 0 insertions, 0 deletions