patch-2.4.0-prerelease linux/fs/nfs/read.c

Next file: linux/fs/nfs/write.c
Previous file: linux/fs/nfs/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/nfs/read.c linux/fs/nfs/read.c
@@ -479,7 +479,7 @@
 		struct address_space *mapping = page->mapping;
 		if (!mapping)
 			BUG();
-		inode = (struct inode *)mapping->host;
+		inode = mapping->host;
 	} else
 		inode = file->f_dentry->d_inode;
 	if (!inode)

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