aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-10-02 14:15:13 -0400
committerStephen Boyd <sboyd@codeaurora.org>2015-10-02 14:22:23 -0400
commit9f30a04d768f64280dc0c40b730746e82f298d88 (patch)
treee112853eb73627ed7b9a2ef8e4feab6685a0200e /fs/btrfs/dev-replace.c
parent9e294bf88a583825a413df408b9fe9e658fb93ac (diff)
parent7aba4f5201d1b7b3ddb0b03883d9edf69851ddad (diff)
Merge branch 'for-4.3-rc/ti-clk-fixes' of https://github.com/t-kristo/linux-pm into clk-fixes
Pull fixes from Tero Kristo: "A few TI clock driver fixes to pull against 4.3-rc" * 'for-4.3-rc/ti-clk-fixes' of https://github.com/t-kristo/linux-pm: (3 commits) clk: ti: dflt: fix enable_reg validity check clk: ti: fix dual-registration of uart4_ick clk: ti: clk-7xx: Remove hardwired ABE clock configuration
Diffstat (limited to 'fs/btrfs/dev-replace.c')
-rw-r--r--fs/btrfs/dev-replace.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c
index 862fbc206755..e54dd5905cee 100644
--- a/fs/btrfs/dev-replace.c
+++ b/fs/btrfs/dev-replace.c
@@ -183,8 +183,7 @@ no_valid_dev_replace_entry_found:
183 } 183 }
184 184
185out: 185out:
186 if (path) 186 btrfs_free_path(path);
187 btrfs_free_path(path);
188 return ret; 187 return ret;
189} 188}
190 189
@@ -378,7 +377,7 @@ int btrfs_dev_replace_start(struct btrfs_root *root,
378 377
379 ret = btrfs_kobj_add_device(tgt_device->fs_devices, tgt_device); 378 ret = btrfs_kobj_add_device(tgt_device->fs_devices, tgt_device);
380 if (ret) 379 if (ret)
381 btrfs_error(root->fs_info, ret, "kobj add dev failed"); 380 btrfs_err(root->fs_info, "kobj add dev failed %d\n", ret);
382 381
383 printk_in_rcu(KERN_INFO 382 printk_in_rcu(KERN_INFO
384 "BTRFS: dev_replace from %s (devid %llu) to %s started\n", 383 "BTRFS: dev_replace from %s (devid %llu) to %s started\n",