patch-2.1.80 linux/fs/fat/misc.c
Next file: linux/fs/fat/mmap.c
Previous file: linux/fs/fat/inode.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jan 13 20:07:28 1998
- Orig file:
v2.1.79/linux/fs/fat/misc.c
- Orig date:
Mon Jan 12 22:09:17 1998
diff -u --recursive --new-file v2.1.79/linux/fs/fat/misc.c linux/fs/fat/misc.c
@@ -194,7 +194,7 @@
*/
file_cluster = 0;
if ((curr = MSDOS_I(inode)->i_start) != 0) {
- cache_lookup(inode,INT_MAX,&last,&curr);
+ fat_cache_lookup(inode,INT_MAX,&last,&curr);
file_cluster = last;
while (curr && curr != -1){
PRINTK (("."));
@@ -242,7 +242,7 @@
printk ("file_cluster badly computed!!! %d <> %ld\n"
,file_cluster,inode->i_blocks/cluster_size);
}else{
- cache_add(inode,file_cluster,nr);
+ fat_cache_add(inode,file_cluster,nr);
}
inode->i_blocks += cluster_size;
if (S_ISDIR(inode->i_mode)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov