projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03cda5
)
Btrfs: volume: Replace PTR_RET with PTR_ERR_OR_ZERO
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 15 Jul 2013 11:22:18 +0000
(16:52 +0530)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 16 Jul 2013 06:36:02 +0000
(16:06 +0930)
PTR_RET is now deprecated. Use PTR_ERR_OR_ZERO instead.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
fs/btrfs/volumes.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index
78b8717
..
67a0853
100644
(file)
--- a/
fs/btrfs/volumes.c
+++ b/
fs/btrfs/volumes.c
@@
-3302,7
+3302,7
@@
int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info)
}
tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance");
- return PTR_
RET
(tsk);
+ return PTR_
ERR_OR_ZERO
(tsk);
}
int btrfs_recover_balance(struct btrfs_fs_info *fs_info)