diff options
author | Josef Bacik <josef@toxicpanda.com> | 2017-09-29 21:43:49 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-30 12:28:00 +0100 |
commit | 84f7d8e6242ceb377c7af10a7133c653cc7fea5f (patch) | |
tree | 66bbe204176cf912f438abbdc7fa0b4bf9a0575c /fs/btrfs/ioctl.c | |
parent | btrfs: add ref-verify mount option (diff) | |
download | linux-84f7d8e6242ceb377c7af10a7133c653cc7fea5f.tar.xz linux-84f7d8e6242ceb377c7af10a7133c653cc7fea5f.zip |
btrfs: pass root to various extent ref mod functions
We need the actual root for the ref verifier tool to work, so change
these functions to pass the root around instead. This will be used in
a subsequent patch.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index f969c034d7b3..847d318756d4 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -3694,7 +3694,7 @@ process_slot: if (disko) { inode_add_bytes(inode, datal); ret = btrfs_inc_extent_ref(trans, - fs_info, + root, disko, diskl, 0, root->root_key.objectid, btrfs_ino(BTRFS_I(inode)), |