HomeFreeBSD

Don't zero fd_nfiles during fdp destruction.

Description

Don't zero fd_nfiles during fdp destruction.

Code trying to take a look has to check fd_refcnt and it is 0 by that time.

This is a follow up to r268505, without this the code would leak memory for
tables bigger than the default.

MFC after: 1 week

Details

Provenance
mjgAuthored on Jul 10 2014, 9:05 PM
Parents
rGe518baf8f9b1: Avoid relocking filedesc lock when closing fds during fdp destruction.
Branches
Unknown
Tags
Unknown

Event Timeline