patch-2.1.4 linux/fs/minix/file.c
Next file: linux/fs/minix/inode.c
Previous file: linux/fs/locks.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Oct 13 21:11:19 1996
- Orig file:
v2.1.3/linux/fs/minix/file.c
- Orig date:
Sat Sep 28 23:22:55 1996
diff -u --recursive --new-file v2.1.3/linux/fs/minix/file.c linux/fs/minix/file.c
@@ -108,7 +108,7 @@
}
}
p = (pos % BLOCK_SIZE) + bh->b_data;
- memcpy_fromfs(p,buf,c);
+ copy_from_user(p,buf,c);
update_vm_cache(inode, pos, p, c);
mark_buffer_uptodate(bh, 1);
mark_buffer_dirty(bh, 0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov