Nikolay Borisov b9ba017fb0 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>
2020-10-07 12:12:15 +02:00
..
2020-05-25 11:25:37 +02:00
2019-11-18 23:43:44 +01:00
2020-10-07 12:06:57 +02:00
2020-10-07 12:06:57 +02:00
2020-03-23 17:01:43 +01:00
2020-05-25 11:25:37 +02:00
2020-10-07 12:06:58 +02:00
2020-05-25 11:25:36 +02:00