hi, > Module Name: src > Committed By: dsl > Date: Sun Dec 6 16:33:19 UTC 2009 > > Modified Files: > src/sys/dev: vnd.c vndvar.h > > Log Message: > Make vnd_size (the returned size) 64 bit, keeping old field for ioctl > compatibility. Both fields are now unsigned. > Add compatibility for the old ioctl size. > Detect and error files which are definitely sparse (va_bytes < va_size).
please revert this part of the change. because: - the check doesn't work for certain filesystems. eg. zfs - sparse files work fine in some cases. eg. read-only usage, nfs YAMAMOTO Takashi > Part of fix for PR/41873. > > > To generate a diff of this commit: > cvs rdiff -u -r1.204 -r1.205 src/sys/dev/vnd.c > cvs rdiff -u -r1.24 -r1.25 src/sys/dev/vndvar.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files.