libafs: update uio resid in bypasscache
[openafs.git] / src / afs / afs_bypasscache.c
index 6988398..2e36d00 100644 (file)
@@ -434,6 +434,7 @@ afs_NoCacheFetchProc(struct rx_call *acall,
                        goto done;
                    }
                    size -= bytes;
+                   auio->uio_resid -= bytes;
                    iovno = 0;
                }
                pp = (bypass_page_t)auio->uio_iov[curpage].iov_base;