A user pointer is not a suitable value for bio_data and the next block
of code always overwrites bio_data anyway. Just use cb->aio_buf
directly in the call to vm_fault_quick_hold_pages().
Details
Details
- Reviewers
kib - Commits
- rS366296: Avoid a dubious assignment to bio_data in aio_qbio().
- kyua test -k /usr/tests/sys/aio/Kyuafile
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable