patch-2.3.99-pre3 linux/drivers/block/loop.c
Next file: linux/drivers/block/lvm.c
Previous file: linux/drivers/atm/zatm.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Mar 21 11:30:08 2000
- Orig file:
v2.3.99-pre2/linux/drivers/block/loop.c
- Orig date:
Sun Feb 20 21:12:38 2000
diff -u --recursive --new-file v2.3.99-pre2/linux/drivers/block/loop.c linux/drivers/block/loop.c
@@ -190,7 +190,7 @@
page = grab_cache_page(mapping, index);
if (!page)
goto fail;
- if (aops->prepare_write(page, offset, offset+size))
+ if (aops->prepare_write(file, page, offset, offset+size))
goto unlock;
kaddr = (char*)page_address(page);
if ((lo->transfer)(lo, WRITE, kaddr+offset, data, size, IV))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)