patch-2.3.99-pre7 linux/fs/ramfs/inode.c

Next file: linux/fs/romfs/inode.c
Previous file: linux/fs/qnx4/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/fs/ramfs/inode.c linux/fs/ramfs/inode.c
@@ -62,7 +62,7 @@
  * Read a page. Again trivial. If it didn't already exist
  * in the page cache, it is zero-filled.
  */
-static int ramfs_readpage(struct dentry *dentry, struct page * page)
+static int ramfs_readpage(struct file *file, struct page * page)
 {
 	if (!Page_Uptodate(page)) {
 		memset((void *) page_address(page), 0, PAGE_CACHE_SIZE);
@@ -76,7 +76,7 @@
  * Writing: just make sure the page gets marked dirty, so that
  * the page stealer won't grab it.
  */
-static int ramfs_writepage(struct file *file, struct dentry * dentry, struct page *page)
+static int ramfs_writepage(struct file *file, struct page *page)
 {
 	SetPageDirty(page);
 	return 0;

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