Btrfs: pass root object into btrfs_ioctl_{start, wait}_sync()
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 26 Nov 2012 08:40:43 +0000 (08:40 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:07 +0000 (20:46 -0500)
commit9a8c28bec1b40e934ed28149b7eaa7d2fafed92d
tree0294b4fc799f6597ccb22a5338e53fd933a52002
parentdb2254bce4f19f458aaa05f9d00b39f413f7488c
Btrfs: pass root object into btrfs_ioctl_{start, wait}_sync()

Since we have gotten the root in the caller, just pass it into
btrfs_ioctl_{start, wait}_sync() directly.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ioctl.c