Re: [PATCH 14/15] blkcg: rename blkg_try_get to blkg_tryget
From: Josef Bacik
Date: Fri Aug 31 2018 - 11:50:22 EST
On Thu, Aug 30, 2018 at 09:53:55PM -0400, Dennis Zhou wrote:
> From: "Dennis Zhou (Facebook)" <dennisszhou@xxxxxxxxx>
>
> blkg reference counting now uses percpu_ref rather than atomic_t. Let's
> make this consistent with css_tryget. This renames blkg_try_get to
> blkg_tryget and now returns a bool rather than the blkg or NULL.
>
> Signed-off-by: Dennis Zhou <dennisszhou@xxxxxxxxx>
Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>
Thanks,
Josef