mirror of
https://github.com/opnsense/src.git
synced 2026-05-17 11:39:21 -04:00
Apparently some large-file systems out there, such as my powerpc64le
Linux box, define daddr_t as a 32-bit type, which is sad and stymies
cross-building disk images. Cast daddr_t to off_t before doing
arithmetic that overflows.
Reviewed by: arichardson, jrtc27, imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D27458
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| buf.c | ||
| buf.h | ||
| ffs_alloc.c | ||
| ffs_balloc.c | ||
| ffs_bswap.c | ||
| ffs_extern.h | ||
| ffs_subr.c | ||
| Makefile.inc | ||
| mkfs.c | ||
| newfs_extern.h | ||
| ufs_bmap.c | ||
| ufs_bswap.h | ||
| ufs_inode.h | ||