summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2001-08-31 03:15:45 +0000
committerlukem <lukem@NetBSD.org>2001-08-31 03:15:45 +0000
commit2bfd8a2678bcb013a5171bf618575a2bfee51ff7 (patch)
treec4218decd0b1b2fa9a7e93209b6695bb7e58d2b2 /sys/dev/microcode
parente6ca9b3514425e30178d8677fd3cb30b41c2a74b (diff)
More fixes from FreeBSD (with changes):
- Cast blk argument to lblktosize() to (off_t), to prevent 32 bit overflow. whilst almost every use in ffs used this for small blknos, there are potential issues, and it's safer this way. (as discussed with chuq) - Use 64bit (off_t) math to calculate if we have hit our freespace() limit. Necessary for coherent results on filesystems bigger than 0.5Tb. - Use lblktosize() in blksize() and dblksize(), to make it obvious what's happening - Remove sblksize() - nothing uses it
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions