Re: [PATCH AUTOSEL 5.15 28/31] rbd: make get_lock_owner_info() return a single locker or NULL
From: Ilya Dryomov
Date: Mon Aug 14 2023 - 09:19:02 EST
On Sun, Aug 13, 2023 at 6:09 PM Sasha Levin <sashal@xxxxxxxxxx> wrote:
>
> From: Ilya Dryomov <idryomov@xxxxxxxxx>
>
> [ Upstream commit f38cb9d9c2045dad16eead4a2e1aedfddd94603b ]
>
> Make the "num_lockers can be only 0 or 1" assumption explicit and
> simplify the API by getting rid of output parameters in preparation
> for calling get_lock_owner_info() twice before blocklisting.
>
> Signed-off-by: Ilya Dryomov <idryomov@xxxxxxxxx>
> Reviewed-by: Dongsheng Yang <dongsheng.yang@xxxxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
Hi Sasha,
I think this patch, as well as "rbd: harden get_lock_owner_info()
a bit", have already been applied to 5.15, 6.1 and 6.4 by Greg. The
emails went out on Aug 1.
Thanks,
Ilya