319
333
* we permit the number of open files to exceed fdCacheSize.
320
334
* We only recycle open file descriptors when the number
321
335
* of open files reaches the size of the cache */
324
338
assert(fdP->fd_status == FD_HANDLE_OPEN);
325
339
DLL_DELETE(fdP, fdLruHead, fdLruTail, fd_next, fd_prev);
326
340
DLL_DELETE(fdP, fdP->fd_ih->ih_fdhead, fdP->fd_ih->ih_fdtail,
345
DLL_INSERT_TAIL(fdP, fdAvailHead, fdAvailTail, fd_next, fd_prev);
330
354
if (fdAvailHead == NULL) {