linuxolator: LTP lseek03 failure

Scot Hetzel swhetzel at gmail.com
Fri May 4 07:04:14 UTC 2007


On 5/2/07, Scot Hetzel <swhetzel at gmail.com> wrote:
> I have investigated the new LTP test failure for lseek03, and the
> first test sets whence to 4 (SEEK_HOLE):
>
> test 1 lseek(tfile_1554, 1, 4) Failed, errno=25 Inappropriate ioctl
> for device, expected 22(EINVAL)
>
Looking thru -CURRENT, I found that SEEK_HOLE and SEEK_DATA were added
to lseek (sys/kern/vfs_syscalls.c 1.437) on April 5th, 2007 by pjd as
a requirement for the ZFS implementation.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-emulation mailing list