Btrfs: add alloc_fs_devices and switch to it
authorIlya Dryomov <idryomov@gmail.com>
Mon, 12 Aug 2013 11:33:03 +0000 (14:33 +0300)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:16:05 +0000 (08:16 -0400)
In the spirit of btrfs_alloc_device, add a helper for allocating and
doing some common initialization of btrfs_fs_devices struct.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>

No differences found