freebsd-dev/sys/boot/zfs
Toomas Soome 151139ad9e loader: disk/part api needs to use uint64_t offsets
The disk_* and part_* api is using 64bit values for media size and
offsets. However, the current api is using off_t type, which is signed
64-bit int.

In this context the signed media size does not make any sense, and
the offsets are used to mark absolute, not relative locations.

Also, the data from GPT partition table and some other sources is
already using uint64_t data type, so using signed off_t can cause sign
issues.

Reviewed by:	imp
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D8710
2017-02-01 20:10:56 +00:00
..
devicename_stubs.c
libzfs.h Make boot code and loader check for unsupported ZFS feature flags 2016-08-01 19:37:43 +00:00
Makefile Disable loop unrolling in skein for sys/boot 2016-10-06 03:32:30 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
zfs.c loader: disk/part api needs to use uint64_t offsets 2017-02-01 20:10:56 +00:00
zfsimpl.c loader: zfs toplevel vdev must have spa set. 2016-11-17 19:38:30 +00:00