patch-2.3.43 linux/include/linux/pagemap.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/openpic.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/linux/pagemap.h linux/include/linux/pagemap.h
@@ -83,7 +83,7 @@
 
 extern inline void add_page_to_hash_queue(struct page * page, struct inode * inode, unsigned long index)
 {
-	__add_page_to_hash_queue(page, page_hash(&inode->i_data,index));
+	__add_page_to_hash_queue(page, page_hash(inode->i_mapping,index));
 }
 
 extern inline void add_page_to_inode_queue(struct address_space *mapping, struct page * page)

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