Andrey A. Chernov bd0cc17757 ffs_read:
Replace wrong check returned EFBIG with EOVERFLOW handling from POSIX:

36708 [EOVERFLOW] The file is a regular file, nbyte is greater than 0, the
starting position is before the end-of-file, and the starting position is
greater than or equal to the offset maximum established in the open file
description associated with fildes.

ffs_write:
Replace u_int64_t cast with uoff_t cast which is more natural for types
used.

ffs_write & ffs_read:
Remove uio_offset and uio_resid checks for negative values, the caller
supposed to do it already. Add comments about it.

Reviewed by:    bde
2004-01-23 05:38:02 +00:00
..
2004-01-21 18:03:54 +00:00
2004-01-20 03:29:24 +00:00
2004-01-22 19:50:06 +00:00
2004-01-14 07:47:10 +00:00
2003-12-16 14:13:47 +00:00
2004-01-23 05:38:02 +00:00
2004-01-17 03:28:27 +00:00