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
- Lines: 18
- Date:
Mon May 8 13:51:01 2000
- Orig file:
v2.3.99-pre6/linux/fs/ramfs/inode.c
- Orig date:
Wed Apr 26 16:34:09 2000
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, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])