From: Ruslan Garipov ruslanngaripov@gmail.com
This lists all fields of the `struct fd_ops' when object of that type -- process_fd_ops in server/process.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/process.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/server/process.c b/server/process.c index 155dc050d95..dc4172fb16d 100644 --- a/server/process.c +++ b/server/process.c @@ -125,12 +125,16 @@ static const struct fd_ops process_fd_ops = { NULL, /* get_poll_events */ process_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 */ };
/* process startup info */