[Libsysio-commit] gmdev: libsysio/drivers/yod fs_yod.c
Brought to you by:
lward
From: Ruth K. <rk...@us...> - 2004-04-22 19:31:38
|
Update of /cvsroot/libsysio/libsysio/drivers/yod In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5112 Modified Files: Tag: gmdev fs_yod.c Log Message: merge from head Index: fs_yod.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/drivers/yod/fs_yod.c,v retrieving revision 1.11.2.1 retrieving revision 1.11.2.2 diff -u -w -b -B -p -r1.11.2.1 -r1.11.2.2 --- fs_yod.c 4 Mar 2004 18:08:06 -0000 1.11.2.1 +++ fs_yod.c 22 Apr 2004 19:31:29 -0000 1.11.2.2 @@ -996,17 +996,11 @@ doio(ssize_t (*f)(void *, size_t, _SYSIO { struct yod_inode *nino = I2NI(ioctx->ioctx_ino); - if (ioctx->ioctx_xtvlen != 1) { - /* - * No scatter/gather supported in yod I/O - */ - return -EINVAL; - } - ioctx->ioctx_cc = _sysio_doio(ioctx->ioctx_xtv, ioctx->ioctx_xtvlen, ioctx->ioctx_iov, ioctx->ioctx_iovlen, - (ssize_t (*)(void *, size_t, _SYSIO_OFF_T, void *))f, + (ssize_t (*)(void *, size_t, + _SYSIO_OFF_T, void *))f, nino); if (ioctx->ioctx_cc < 0) { ioctx->ioctx_errno = -ioctx->ioctx_cc; |