diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-08-19 21:53:55 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-08-21 01:31:50 +0000 |
| commit | a1aa26b7db2c774b1da5eecb5505efd412ea7a23 (patch) | |
| tree | bafef6ee2cdbf0aca5014e88dc58f705f4dafd2f /contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter | |
| parent | f0778a6f9ba7045239a0055ebfbd7965d1f162c9 (diff) | |
st_blksize is defined by POSIX as the 'preferred I/O block size for this
object.' It is wrong to use st_blksize as the unit for st_blocks and
expect it to be equal to the object size regardless of the change of
st_blksize.
Fixes: 3a1bf59d195c ("shmfd: consistently return size in 512 byte blocks for fstat(2) st_blocks")
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D59014
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter')
0 files changed, 0 insertions, 0 deletions
