Fix initialization of the thread_fd_ops

This lists all fields of the `struct fd_ops' when object of that type --
thread_fd_ops in server/thread.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>
This commit is contained in:
Ruslan Garipov 2024-04-17 15:09:54 +05:00
parent 8b373293b9
commit a27bcafff6
No known key found for this signature in database
GPG key ID: F703ED24EB29F026

View file

@ -207,9 +207,14 @@ static const struct fd_ops thread_fd_ops =
{
NULL, /* get_poll_events */
thread_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 */
};