Project

General

Profile

Bug #13104

Updated by Toomas Soome about 1 year ago

Build error with smatch: 
 <pre> 
     /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../../common/fs/zfs/zfs_vnops.c:4844 zfs_seek() warn: impossible condition '(*noffp > 9223372036854775807) => (s64min - s64max > s64max)' 
 </pre> 

 offset_t is signed type, therefore '*noffp' can be < 0, but not larger than MAXOFFSET_T, which is maximum positive value for offset_t. 

 Testing done: build/install/boot

Back