diff options
author | Max Kellermann <max.kellermann@ionos.com> | 2025-08-06 11:48:55 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2025-10-08 23:30:47 +0200 |
commit | 6140f1d43ba9425dc55b12bdfd8877b0c5118d9a (patch) | |
tree | b5497493ffb75fe6e6c1c58dda83cb9ae2bbf202 /tools/docs/lib/parse_data_structs.py | |
parent | 7399212dcf64d90a6ab239bdd98bd325d922fc7e (diff) |
libceph: add empty check to ceph_con_get_out_msg()
This moves the list_empty() checks from the two callers (v1 and v2)
into the base messenger.c library. Now the v1/v2 specializations do
not need to know about con->out_queue; that implementation detail is
now hidden behind the ceph_con_get_out_msg() function.
[ idryomov: instead of changing prepare_write_message() to return
a bool, move ceph_con_get_out_msg() call out to arrive to the same
pattern as in messenger_v2.c ]
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions