patch-2.3.39 linux/fs/iobuf.c
Next file: linux/fs/minix/inode.c
Previous file: linux/fs/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Jan 8 13:03:07 2000
- Orig file:
v2.3.38/linux/fs/iobuf.c
- Orig date:
Fri Oct 22 13:21:52 1999
diff -u --recursive --new-file v2.3.38/linux/fs/iobuf.c linux/fs/iobuf.c
@@ -88,7 +88,7 @@
return 0;
}
- memcpy (maplist, iobuf->maplist, wanted * sizeof(struct page **));
+ memcpy (maplist, iobuf->maplist, iobuf->array_len * sizeof(struct page **));
if (iobuf->array_len > KIO_STATIC_PAGES)
kfree (iobuf->maplist);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)