]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4462032028bc53017aa9f3ee88577a98caca5c43
tree92d091da518c2c9b141b5649663a7aa9c0d5624c
parentf22e73fbd5668fd42ac1edfa15cd17bee1af9183
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