patch-2.3.24 linux/fs/nfs/symlink.c
Next file: linux/fs/nfsd/export.c
Previous file: linux/fs/nfs/read.c
Back to the patch index
Back to the overall index
-  Lines: 38
-  Date:
Tue Oct 26 10:41:06 1999
-  Orig file: 
v2.3.23/linux/fs/nfs/symlink.c
-  Orig date: 
Fri Oct 22 13:21:52 1999
diff -u --recursive --new-file v2.3.23/linux/fs/nfs/symlink.c linux/fs/nfs/symlink.c
@@ -66,16 +66,16 @@
 	if (!page_cache)
 		goto out;
 
-	hash = page_hash(inode, 0);
+	hash = page_hash(&inode->i_data, 0);
 repeat:
-	page = __find_lock_page(inode, 0, hash);
+	page = __find_lock_page(&inode->i_data, 0, hash);
 	if (page) {
 		page_cache_free(page_cache);
 		goto unlock_out;
 	}
 
 	page = page_cache;
-	if (add_to_page_cache_unique(page, inode, 0, hash)) {
+	if (add_to_page_cache_unique(page, &inode->i_data, 0, hash)) {
 		page_cache_release(page);
 		goto repeat;
 	}
@@ -107,7 +107,7 @@
 	u32 *p, len;
 
 	/* Caller revalidated the directory inode already. */
-	page = find_get_page(inode, 0);
+	page = find_get_page(&inode->i_data, 0);
 	if (!page)
 		goto no_readlink_page;
 	if (!Page_Uptodate(page))
@@ -142,7 +142,7 @@
 	u32 *p;
 
 	/* Caller revalidated the directory inode already. */
-	page = find_get_page(inode, 0);
+	page = find_get_page(&inode->i_data, 0);
 	if (!page)
 		goto no_followlink_page;
 	if (!Page_Uptodate(page))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)