From: Ruslan Garipov ruslanngaripov@gmail.com
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 --- server/change.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/server/change.c b/server/change.c index f773ccf8831..36c648f18b7 100644 --- a/server/change.c +++ b/server/change.c @@ -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 */ };