btrfs: merge two superblock writing helpers
authorDavid Sterba <dsterba@suse.com>
Fri, 10 Feb 2017 18:04:32 +0000 (19:04 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:51 +0000 (12:03 +0100)
commiteece6a9cf69140fe1886f14d9a96add4f9929d78
tree35bcad5e8108678f88751d44bf2ab298c4cce4be
parentb75f50624394fff4f0e6521fda673317d5b79309
btrfs: merge two superblock writing helpers

write_all_supers and write_ctree_super are almost equal, the parameter
'trans' is unused so we can drop it and have just one helper.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/transaction.c
fs/btrfs/tree-log.c