diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2023-06-30 13:52:13 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-07-26 15:08:08 +0200 |
commit | f38cb9d9c2045dad16eead4a2e1aedfddd94603b (patch) | |
tree | 427fd3a242f6085f72275fd9b52e8473d54d8741 /net | |
parent | 50164507f6b7b7ed85d8c3ac0266849fbd908db7 (diff) |
rbd: make get_lock_owner_info() return a single locker or NULL
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions