patch-2.4.0-prerelease linux/fs/nfs/file.c
Next file: linux/fs/nfs/read.c
Previous file: linux/fs/nfs/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Dec 29 14:07:57 2000
- Orig file:
v2.4.0-test12/linux/fs/nfs/file.c
- Orig date:
Mon Dec 11 17:59:45 2000
diff -u --recursive --new-file v2.4.0-test12/linux/fs/nfs/file.c linux/fs/nfs/file.c
@@ -161,7 +161,7 @@
{
long status;
loff_t pos = ((loff_t)page->index<<PAGE_CACHE_SHIFT) + to;
- struct inode *inode = (struct inode*)page->mapping->host;
+ struct inode *inode = page->mapping->host;
kunmap(page);
lock_kernel();
@@ -188,7 +188,7 @@
mapping = page->mapping;
if (!mapping)
return 0;
- inode = (struct inode *)mapping->host;
+ inode = mapping->host;
if (!inode)
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)