commit | 2208a378f35fea7a1b778bf856edb971fb7ea9e8 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Mon Aug 12 14:33:03 2013 +0300 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:16:05 2013 -0400 |
tree | f99434dcc1f923d579290b4fb997b983707c93fd | |
parent | 12bd2fc0d2f589f9605b8f497eee2e7724f3af24 [diff] |
Btrfs: add alloc_fs_devices and switch to it 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>