|
|
1.1 root 1: diff -u -r -r linux-2.2.13-orig/fs/fat/misc.c linux-2.2.13-new1/fs/fat/misc.c
2: --- linux-2.2.13-orig/fs/fat/misc.c Mon Aug 9 19:04:41 1999
3: +++ linux-2.2.13-new1/fs/fat/misc.c Sun Dec 5 11:43:02 1999
4: @@ -222,9 +222,10 @@
5: sector = MSDOS_SB(sb)->data_start+(nr-2)*cluster_size;
6: last_sector = sector + cluster_size;
7: if (MSDOS_SB(sb)->cvf_format &&
8: - MSDOS_SB(sb)->cvf_format->zero_out_cluster)
9: + MSDOS_SB(sb)->cvf_format->zero_out_cluster) {
10: MSDOS_SB(sb)->cvf_format->zero_out_cluster(inode,nr);
11: - else
12: + res=fat_bread(sb,fat_smap(inode,inode->i_blocks));
13: + }else
14: for ( ; sector < last_sector; sector++) {
15: #ifdef DEBUG
16: printk("zeroing sector %d\n",sector);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.