Skip to content

Commit

Permalink
btrfs: its btrfs_err() instead of btrfs_error()
Browse files Browse the repository at this point in the history
sorry I indented to use btrfs_err() and I have no idea
how btrfs_error() got there.
infact I was thinking about these kind of oversights
since these two func are too closely named.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
  • Loading branch information
Anand Jain authored and Chris Mason committed Jul 23, 2015
1 parent 95ab1f6 commit 3e303ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/dev-replace.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ int btrfs_dev_replace_start(struct btrfs_root *root,

ret = btrfs_kobj_add_device(tgt_device->fs_devices, tgt_device);
if (ret)
btrfs_error(root->fs_info, ret, "kobj add dev failed");
btrfs_err(root->fs_info, "kobj add dev failed %d\n", ret);

printk_in_rcu(KERN_INFO
"BTRFS: dev_replace from %s (devid %llu) to %s started\n",
Expand Down

0 comments on commit 3e303ea

Please sign in to comment.