On 14.02.24 18:48, Andrew Cooper wrote:
On 08/02/2024 4:55 pm, Juergen Gross wrote:+static struct p9_fid *alloc_fid(device *device, unsigned int fid, + const char *path) +{ + struct p9_fid *fidp = NULL; + + pthread_mutex_lock(&device->fid_mutex); + + if ( find_fid(device, fid) ) + { + errno = EBADFD;Also, FreeBSD says no. https://cirrus-ci.com/task/6634697753624576 io.c:580:17: error: use of undeclared identifier 'EBADFD' errno = EBADFD; ^ 1 error generated. Need to use EBADF.
Yes. Juergen