From: Ruslan Garipov ruslanngaripov@gmail.com
This lists all fields of the `struct fd_ops' when object of that type -- msg_queue_fd_ops in server/queue.c -- is being initialized.
For motivation behind this patch please read message of commit 0bd610a1680 (Fix initialization of the handler_fd_ops, 2024-04-16).
No functional changes intended.
Signed-off-by: Ruslan Garipov ruslanngaripov@gmail.com --- server/queue.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/server/queue.c b/server/queue.c index 0156a4c66f2..1dfa6568aa6 100644 --- a/server/queue.c +++ b/server/queue.c @@ -184,12 +184,16 @@ static const struct fd_ops msg_queue_fd_ops = { NULL, /* get_poll_events */ msg_queue_poll_event, /* poll_event */ - NULL, /* flush */ NULL, /* get_fd_type */ + NULL, /* read */ + NULL, /* write */ + NULL, /* flush */ + NULL, /* get_file_info */ + NULL, /* get_volume_info */ NULL, /* ioctl */ + NULL, /* cancel_async */ NULL, /* queue_async */ - NULL, /* reselect_async */ - NULL /* cancel async */ + NULL /* reselect_async */ };