zfs: zvol_strategy() warn: unsigned 'off' is never less than zero
zfs - Zettabyte File System
warning from smatch:
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../../common/fs/zfs/zvol.c:1229 zvol_strategy() warn: unsigned 'off' is never less than zero.
Also OpenZFS commit:
zvol: unsigned off can not be less than zero Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: Brian Behlendorf <email@example.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Toomas Soome <firstname.lastname@example.org> Closes #10867
Note that OpenZFS moved zvol code to OS specific files, this issue was carried to freebsd version, linux version has different implementation.
Testing done: build/install/boot.