Rémi Bernon (@rbernon) commented about server/inproc_sync.c:
- if (device->fd) release_object( device->fd );
- linux_device_object = NULL;
+}
+static enum server_fd_type inproc_sync_get_fd_type( struct fd *fd ) +{
- return FD_TYPE_FILE;
+}
+static struct linux_device *get_linux_device(void) +{
- struct linux_device *device;
- int unix_fd;
- if (linux_device_object)
return (struct linux_device *)grab_object( linux_device_object );
The static `linux_device_object` doesn't seem to be used? `get_linux_device` is called below and the device is then released in every code path?