patch-2.4.0-test8 linux/fs/sysv/balloc.c
Next file: linux/fs/sysv/ialloc.c
Previous file: linux/fs/smbfs/sock.c
Back to the patch index
Back to the overall index
- Lines: 58
- Date:
Tue Sep 5 14:07:30 2000
- Orig file:
v2.4.0-test7/linux/fs/sysv/balloc.c
- Orig date:
Tue Jun 29 09:22:08 1999
diff -u --recursive --new-file v2.4.0-test7/linux/fs/sysv/balloc.c linux/fs/sysv/balloc.c
@@ -83,7 +83,7 @@
}
*flc_count = *sb->sv_sb_flc_count; /* = sb->sv_flc_size */
memcpy(flc_blocks, sb->sv_sb_flc_blocks, *flc_count * sizeof(sysv_zone_t));
- mark_buffer_dirty(bh, 1);
+ mark_buffer_dirty(bh);
mark_buffer_uptodate(bh, 1);
brelse(bh);
*sb->sv_sb_flc_count = 0;
@@ -100,7 +100,7 @@
}
memset(bh->b_data, 0, sb->sv_block_size);
/* this implies ((struct ..._freelist_chunk *) bh->b_data)->flc_count = 0; */
- mark_buffer_dirty(bh, 1);
+ mark_buffer_dirty(bh);
mark_buffer_uptodate(bh, 1);
brelse(bh);
/* still *sb->sv_sb_flc_count = 0 */
@@ -119,8 +119,8 @@
to_coh_ulong(from_coh_ulong(*sb->sv_sb_total_free_blocks) + 1);
else
*sb->sv_sb_total_free_blocks = *sb->sv_sb_total_free_blocks + 1;
- mark_buffer_dirty(sb->sv_bh1, 1); /* super-block has been modified */
- if (sb->sv_bh1 != sb->sv_bh2) mark_buffer_dirty(sb->sv_bh2, 1);
+ mark_buffer_dirty(sb->sv_bh1); /* super-block has been modified */
+ if (sb->sv_bh1 != sb->sv_bh2) mark_buffer_dirty(sb->sv_bh2);
sb->s_dirt = 1; /* and needs time stamp */
unlock_super(sb);
}
@@ -207,7 +207,7 @@
return 0;
}
memset(bh->b_data, 0, sb->sv_block_size);
- mark_buffer_dirty(bh, 1);
+ mark_buffer_dirty(bh);
mark_buffer_uptodate(bh, 1);
brelse(bh);
if (sb->sv_convert)
@@ -215,8 +215,8 @@
to_coh_ulong(from_coh_ulong(*sb->sv_sb_total_free_blocks) - 1);
else
*sb->sv_sb_total_free_blocks = *sb->sv_sb_total_free_blocks - 1;
- mark_buffer_dirty(sb->sv_bh1, 1); /* super-block has been modified */
- if (sb->sv_bh1 != sb->sv_bh2) mark_buffer_dirty(sb->sv_bh2, 1);
+ mark_buffer_dirty(sb->sv_bh1); /* super-block has been modified */
+ if (sb->sv_bh1 != sb->sv_bh2) mark_buffer_dirty(sb->sv_bh2);
sb->s_dirt = 1; /* and needs time stamp */
unlock_super(sb);
return block;
@@ -311,7 +311,7 @@
printk("sysv_count_free_blocks: free block count was %d, correcting to %d\n",old_count,count);
if (!(sb->s_flags & MS_RDONLY)) {
*sb->sv_sb_total_free_blocks = (sb->sv_convert ? to_coh_ulong(count) : count);
- mark_buffer_dirty(sb->sv_bh2, 1); /* super-block has been modified */
+ mark_buffer_dirty(sb->sv_bh2); /* super-block has been modified */
sb->s_dirt = 1; /* and needs time stamp */
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)