Merge branch 'for-chris-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/fdmanan...
authorChris Mason <clm@fb.com>
Tue, 17 May 2016 21:43:19 +0000 (14:43 -0700)
committerChris Mason <clm@fb.com>
Tue, 17 May 2016 21:43:19 +0000 (14:43 -0700)
Signed-off-by: Chris Mason <clm@fb.com>
1  2 
fs/btrfs/ctree.h
fs/btrfs/dev-replace.c
fs/btrfs/extent-tree.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/relocation.c
fs/btrfs/super.c
fs/btrfs/transaction.c
fs/btrfs/tree-log.c

Simple merge
index 1f193f742f21cf35783b8b6f1e5e3d9c6f40ec55,3371f9e546d96885e8f52dd629d7337b422300f7..85f12e6e28d212368af44fbafc1e22442f89dccf
@@@ -383,9 -401,9 +383,9 @@@ int btrfs_dev_replace_start(struct btrf
  
        ret = btrfs_sysfs_add_device_link(tgt_device->fs_devices, tgt_device);
        if (ret)
 -              btrfs_err(root->fs_info, "kobj add dev failed %d\n", ret);
 +              btrfs_err(fs_info, "kobj add dev failed %d\n", ret);
  
-       btrfs_wait_ordered_roots(fs_info, -1);
+       btrfs_wait_ordered_roots(root->fs_info, -1, 0, (u64)-1);
  
        /* force writing the updated state information to disk */
        trans = btrfs_start_transaction(root, 0);
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge