btrfs: split write_dev_supers to two functions
authorDavid Sterba <dsterba@suse.com>
Thu, 15 Jun 2017 22:50:33 +0000 (00:50 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:04 +0000 (16:12 +0200)
commitabbb3b8ebfec577390873d33076d56bc6e758939
tree004560a03bddf55db556ca6ad29466c58448c430
parent35c70103a528603afb538ffeafe40c7b8251b0fe
btrfs: split write_dev_supers to two functions

There are two independent parts, one that writes the superblocks and
another that waits for completion. No functional changes, but cleanups,
reformatting and comment updates.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c