Otherwise we might miss the last iteration where EOF appears below unaligned noff.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/kern/vfs_vnops.c | ||
---|---|---|
2171 ↗ | (On Diff #55776) | Shouldn't it be noff += noff % bsize == 0 ? bsize : bsize - noff % bsize? Or even noff += bsize - noff % bsize. |