Btrfs: pass fs_info instead of root
authorStefan Behrens <sbehrens@giantdisaster.de>
Mon, 5 Nov 2012 16:03:39 +0000 (17:03 +0100)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:36 +0000 (17:15 -0500)
commitaa1b8cd409f05e1489ec77ff219eff6ed4b801b8
tree92d091da518c2c9b141b5649663a7aa9c0d5624c
parenta8a6dab77997a371f1925a4001021eea3ee5cb88
Btrfs: pass fs_info instead of root

A small number of functions that are used in a device replace
procedure when the operation is resumed at mount time are unable
to pass the same root pointer that would be used in the regular
(ioctl) context. And since the root pointer is not required, only
the fs_info is, the root pointer argument is replaced with the
fs_info pointer argument.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/ioctl.c
fs/btrfs/scrub.c
fs/btrfs/super.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h