This is a no-op for now since the sole caller passes fd=ndp->ni_dirfd,
but the old code was still wrong. For some reason I do not see a
warning about "fd" being unused.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
What is the expected semantic for the case of fd != ndp->ni_dirfd?
My first reaction to the patch was to propose removing the fd argument instead.
Comment Actions
Indeed, it does not make much sense.
My first reaction to the patch was to propose removing the fd argument instead.
Same for fgetvp_lookup_smr() then, I suppose?