patch-2.4.0-test11 linux/fs/nfs/symlink.c
Next file: linux/fs/nfs/write.c
Previous file: linux/fs/nfs/read.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Nov 8 19:01:34 2000
- Orig file:
v2.4.0-test10/linux/fs/nfs/symlink.c
- Orig date:
Wed Jul 5 11:31:01 2000
diff -u --recursive --new-file v2.4.0-test10/linux/fs/nfs/symlink.c linux/fs/nfs/symlink.c
@@ -30,7 +30,7 @@
static int nfs_symlink_filler(struct dentry *dentry, struct page *page)
{
struct inode *inode = dentry->d_inode;
- void *buffer = (void *)kmap(page);
+ void *buffer = kmap(page);
int error;
/* We place the length at the beginning of the page,
@@ -69,7 +69,7 @@
if (!Page_Uptodate(page))
goto getlink_read_error;
*ppage = page;
- p = (u32 *) kmap(page);
+ p = kmap(page);
return (char*)(p+1);
getlink_read_error:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)