Btrfs: find_next_devid: root -> fs_info
authorIlya Dryomov <idryomov@gmail.com>
Mon, 12 Aug 2013 11:33:01 +0000 (14:33 +0300)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:16:03 +0000 (08:16 -0400)
commit53f10659f9994df8efe788f82d3da78d48e650c5
tree897a1e95a990d0143b9850867fd7bf2c1649dfc8
parentbbb651e469d99f0088e286fdeb54acca7bb4ad4e
Btrfs: find_next_devid: root -> fs_info

find_next_devid() knows which root to search, so it should take an
fs_info instead of an arbitrary root.

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