Commit 97a184fe authored by Thomas Meyer's avatar Thomas Meyer Committed by Josef Bacik

Btrfs: Cocci spatch "ptr_ret.spatch"

Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent b382a324
...@@ -3283,10 +3283,7 @@ int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info) ...@@ -3283,10 +3283,7 @@ int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info)
} }
tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance"); tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance");
if (IS_ERR(tsk)) return PTR_RET(tsk);
return PTR_ERR(tsk);
return 0;
} }
int btrfs_recover_balance(struct btrfs_fs_info *fs_info) int btrfs_recover_balance(struct btrfs_fs_info *fs_info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment