This change is required for https://reviews.freebsd.org/D49355, so that we can check if d_dev is uninitialized by checking if it's NULL.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Oh! I should have committed this ages ago.
Still need to look more closely at the label patch. Love the concept, unsure about a couple of details.
Comment Actions
Hmm ...
Sorry to be picky here .. but if you look at the calloc(3) manpage:
void *calloc(size_t number, size_t size);
The number comes first, then the size, so those should all have been calloc(1, sizeof(struct XXX))