patch-2.4.0-test8 linux/fs/fat/cache.c
Next file: linux/fs/fat/cvf.c
Previous file: linux/fs/fat/buffer.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Tue Sep 5 14:07:29 2000
- Orig file:
v2.4.0-test7/linux/fs/fat/cache.c
- Orig date:
Thu Jul 27 17:38:01 2000
diff -u --recursive --new-file v2.4.0-test7/linux/fs/fat/cache.c linux/fs/fat/cache.c
@@ -106,16 +106,16 @@
*p_first = new_value & 0xff;
*p_last = (*p_last & 0xf0) | (new_value >> 8);
}
- fat_mark_buffer_dirty(sb, bh2, 1);
+ fat_mark_buffer_dirty(sb, bh2);
}
- fat_mark_buffer_dirty(sb, bh, 1);
+ fat_mark_buffer_dirty(sb, bh);
for (copy = 1; copy < MSDOS_SB(sb)->fats; copy++) {
b = MSDOS_SB(sb)->fat_start + (first >> SECTOR_BITS) +
MSDOS_SB(sb)->fat_length * copy;
if (!(c_bh = fat_bread(sb, b)))
break;
memcpy(c_bh->b_data,bh->b_data,SECTOR_SIZE);
- fat_mark_buffer_dirty(sb, c_bh, 1);
+ fat_mark_buffer_dirty(sb, c_bh);
if (bh != bh2) {
if (!(c_bh2 = fat_bread(sb, b+1))) {
fat_brelse(sb, c_bh);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)