patch-2.3.99-pre7 linux/fs/udf/symlink.c
Next file: linux/fs/ufs/inode.c
Previous file: linux/fs/udf/inode.c
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
Mon May  8 14:26:31 2000
-  Orig file: 
v2.3.99-pre6/linux/fs/udf/symlink.c
-  Orig date: 
Thu Mar  2 14:36:23 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/fs/udf/symlink.c linux/fs/udf/symlink.c
@@ -76,9 +76,9 @@
 		p[0] = '\0';
 }
 
-static int udf_symlink_filler(struct dentry * dentry, struct page *page)
+static int udf_symlink_filler(struct file *file, struct page *page)
 {
-	struct inode *inode = dentry->d_inode;
+	struct inode *inode = (struct inode*)page->mapping->host;
 	struct buffer_head *bh = NULL;
 	char *symlink;
 	int err = -EIO;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)