Rémi Bernon (@rbernon) commented about server/inproc_sync.c:
file_set_error();
return NULL;
- }
- if (!(device = alloc_object( &linux_device_ops )))
- {
close( unix_fd );
return NULL;
- }
- if (!(device->fd = create_anonymous_fd( &inproc_sync_fd_ops, unix_fd, &device->obj, 0 )))
- {
release_object( device );
return NULL;
- }
- allow_fd_caching( device->fd );
I don't see any reason to use the fd cache for this, it's going to be retrieved only once and already going to be cached separately.