Fix initialization of the inotify_fd_ops

This lists all fields of the `struct fd_ops' when object of that type --
inotify_fd_ops in server/change.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:01:28 +05:00
parent f06f9d5605
commit 8b373293b9
No known key found for this signature in database
GPG key ID: F703ED24EB29F026

View file

@ -644,9 +644,14 @@ static const struct fd_ops inotify_fd_ops =
{
inotify_get_poll_events, /* get_poll_events */
inotify_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 */
};