commit | 0cc612818d05c2b4f884c03094cf2858e4389827 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 06 17:57:12 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 07 18:09:08 2021 +0200 |
tree | 6e219aea910597da5096ce4535debe63738903e0 | |
parent | 030dae13a01f8dc8e40427f3c156e8ad7b0cec47 [diff] |
MINOR: fd: move .initialized into fdtab[].state No need to keep this flag apart any more, let's merge it into the global state. The bit was not cleared in fd_insert() because the only user is the function used to create and atomically send a log message to a pipe FD, which never registers the fd. Here we clear it nevertheless for the sake of clarity. Note that with an extra cleaning pass we could have a bit number here and simply use a BTS to test and set it.