diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-15 07:22:18 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-16 02:36:02 -0400 |
commit | cd633972e120003bd4cecc7dae560d2e32da5360 (patch) | |
tree | 3ebe0489ece9d8e2e782d7fad888f0a3ae2ab00c /fs/btrfs/volumes.c | |
parent | b03cda5145f39b19aef1152350c04f4e3412cd20 (diff) |
Btrfs: volume: Replace PTR_RET with PTR_ERR_OR_ZERO
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>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 78b871753cb6..67a085381845 100644 --- 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) | |||
3302 | } | 3302 | } |
3303 | 3303 | ||
3304 | tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance"); | 3304 | tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance"); |
3305 | return PTR_RET(tsk); | 3305 | return PTR_ERR_OR_ZERO(tsk); |
3306 | } | 3306 | } |
3307 | 3307 | ||
3308 | int btrfs_recover_balance(struct btrfs_fs_info *fs_info) | 3308 | int btrfs_recover_balance(struct btrfs_fs_info *fs_info) |