On Sun, Aug 13, 2023 at 6:11 PM Sasha Levin sashal@kernel.org wrote:
From: Ilya Dryomov idryomov@gmail.com
[ 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@gmail.com Reviewed-by: Dongsheng Yang dongsheng.yang@easystack.cn Signed-off-by: Sasha Levin sashal@kernel.org
Hi Sasha,
This is a prerequisite patch, it doesn't make sense to backport it without also backporting "rbd: harden get_lock_owner_info() a bit" and "rbd: retrieve and check lock owner twice before blocklisting".
Please drop it.
Thanks,
Ilya