Commit cd633972e120003bd4cecc7dae560d2e32da5360

Authored by Sachin Kamat
Committed by Rusty Russell
1 parent b03cda5145

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -3302,7 +3302,7 @@
3302 3302 }
3303 3303  
3304 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 3308 int btrfs_recover_balance(struct btrfs_fs_info *fs_info)