cvs commit: src/sys/conf NOTES files options src/sys/kern vfs_bio.c src/sys/ufs/ffs ffs_rawread.c ffs_vnops.c

Jake Burkholder jake at locore.ca
Thu Mar 27 12:37:39 PST 2003


Apparently, On Wed, Mar 26, 2003 at 03:40:42PM -0800,
	Tor Egge said words to the effect of;

> tegge       2003/03/26 15:40:42 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/conf             NOTES files options 
>     sys/kern             vfs_bio.c 
>     sys/ufs/ffs          ffs_vnops.c 
>   Added files:
>     sys/ufs/ffs          ffs_rawread.c 
>   Log:
>   Add support for reading directly from file to userland buffer when the
>   O_DIRECT descriptor status flag is set and both offset and length is a
>   multiple of the physical media sector size.

Looks like there's a typo in checking the return value of vmapbuf:

...
	vmapbuf(bp);
	if (vmapbuf < 0)
		return EFAULT;
...

Jake


More information about the cvs-src mailing list