summaryrefslogtreecommitdiffstats
path: root/fs/sysv/truncate.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-10-05 01:18:40 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-10-05 01:18:40 +0000
commit012bb3e61e5eced6c610f9e036372bf0c8def2d1 (patch)
tree87efc733f9b164e8c85c0336f92c8fb7eff6d183 /fs/sysv/truncate.c
parent625a1589d3d6464b5d90b8a0918789e3afffd220 (diff)
Merge with Linux 2.4.0-test9. Please check DECstation, I had a number
of rejects to fixup while integrating Linus patches. I also found that this kernel will only boot SMP on Origin; the UP kernel freeze soon after bootup with SCSI timeout messages. I commit this anyway since I found that the last CVS versions had the same problem.
Diffstat (limited to 'fs/sysv/truncate.c')
-rw-r--r--fs/sysv/truncate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/sysv/truncate.c b/fs/sysv/truncate.c
index 32bfccf6d..559af828d 100644
--- a/fs/sysv/truncate.c
+++ b/fs/sysv/truncate.c
@@ -124,7 +124,7 @@ repeat:
continue;
}
*ind = 0;
- mark_buffer_dirty(indbh, 1);
+ mark_buffer_dirty(indbh);
brelse(bh);
sysv_free_block(sb,block);
}
@@ -183,7 +183,7 @@ static int trunc_dindirect(struct inode * inode, unsigned long offset, sysv_zone
continue;
retry |= trunc_indirect(inode,offset+(i<<sb->sv_ind_per_block_bits),ind,sb->sv_convert,&dirty);
if (dirty)
- mark_buffer_dirty(indbh, 1);
+ mark_buffer_dirty(indbh);
}
for (i = 0; i < sb->sv_ind_per_block; i++)
if (((sysv_zone_t *) indbh->b_data)[i])
@@ -240,7 +240,7 @@ static int trunc_tindirect(struct inode * inode, unsigned long offset, sysv_zone
continue;
retry |= trunc_dindirect(inode,offset+(i<<sb->sv_ind_per_block_2_bits),ind,sb->sv_convert,&dirty);
if (dirty)
- mark_buffer_dirty(indbh, 1);
+ mark_buffer_dirty(indbh);
}
for (i = 0; i < sb->sv_ind_per_block; i++)
if (((sysv_zone_t *) indbh->b_data)[i])