]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4918a957d39d2f6c851b4cc5e94acf86aa664d1b
treef99434dcc1f923d579290b4fb997b983707c93fd
parent121c205aa47fe6fc4d3f8fa2003eeeaaf14053be
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>
fs/btrfs/volumes.c