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
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 33886 Build 31093: arc lint + arc unit