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

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

diff -u --recursive --new-file v2.4.0-test12/linux/fs/nfs/write.c linux/fs/nfs/write.c
@@ -263,7 +263,7 @@
 
 	if (!mapping)
 		BUG();
-	inode = (struct inode *)mapping->host;
+	inode = mapping->host;
 	if (!inode)
 		BUG();
 	end_index = inode->i_size >> PAGE_CACHE_SHIFT;

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