[BACK]Return to puffs_vnops.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / fs / puffs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/fs/puffs/puffs_vnops.c between version 1.95.4.5 and 1.95.4.6

version 1.95.4.5, 2007/10/26 15:48:20 version 1.95.4.6, 2007/10/28 20:11:10
Line 1749  puffs_read(void *v)
Line 1749  puffs_read(void *v)
                 error = 0;                  error = 0;
                 while (uio->uio_resid > 0) {                  while (uio->uio_resid > 0) {
                         tomove = PUFFS_TOMOVE(uio->uio_resid, pmp);                          tomove = PUFFS_TOMOVE(uio->uio_resid, pmp);
                           memset(read_msg, 0, argsize); /* XXX: touser KASSERT */
                         RWARGS(read_msg, ap->a_ioflag, tomove,                          RWARGS(read_msg, ap->a_ioflag, tomove,
                             uio->uio_offset, ap->a_cred);                              uio->uio_offset, ap->a_cred);
   
Line 1899  puffs_write(void *v)
Line 1900  puffs_write(void *v)
                 while (uio->uio_resid > 0) {                  while (uio->uio_resid > 0) {
                         /* move data to buffer */                          /* move data to buffer */
                         tomove = PUFFS_TOMOVE(uio->uio_resid, pmp);                          tomove = PUFFS_TOMOVE(uio->uio_resid, pmp);
                           memset(write_msg, 0, argsize); /* XXX: touser KASSERT */
                         RWARGS(write_msg, ap->a_ioflag, tomove,                          RWARGS(write_msg, ap->a_ioflag, tomove,
                             uio->uio_offset, ap->a_cred);                              uio->uio_offset, ap->a_cred);
                         error = uiomove(write_msg->pvnr_data, tomove, uio);                          error = uiomove(write_msg->pvnr_data, tomove, uio);

Legend:
Removed from v.1.95.4.5  
changed lines
  Added in v.1.95.4.6

CVSweb <webmaster@jp.NetBSD.org>