projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b382a32
)
Btrfs: Cocci spatch "ptr_ret.spatch"
author
Thomas Meyer
<thomas@m3y3r.de>
Sat, 1 Jun 2013 09:45:35 +0000
(09:45 +0000)
committer
Josef Bacik
<jbacik@fusionio.com>
Fri, 14 Jun 2013 15:30:11 +0000
(11:30 -0400)
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/volumes.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index b1446c0da15475caba4eda4709060a2742a2972b..c58bf19a8a483d9ac900aed6bd18944e933b1e6b 100644
(file)
--- a/
fs/btrfs/volumes.c
+++ b/
fs/btrfs/volumes.c
@@
-3283,10
+3283,7
@@
int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info)
}
tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance");
- if (IS_ERR(tsk))
- return PTR_ERR(tsk);
-
- return 0;
+ return PTR_RET(tsk);
}
int btrfs_recover_balance(struct btrfs_fs_info *fs_info)