patch-2.3.99-pre3 linux/mm/filemap.c

Next file: linux/mm/highmem.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/mm/filemap.c linux/mm/filemap.c
@@ -2465,7 +2465,7 @@
 			PAGE_BUG(page);
 		}
 
-		status = mapping->a_ops->prepare_write(page, offset, offset+bytes);
+		status = mapping->a_ops->prepare_write(file, page, offset, offset+bytes);
 		if (status)
 			goto unlock;
 		kaddr = (char*)page_address(page);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)