patch-1.3.45 linux/fs/ext/freelists.c
Next file: linux/fs/ext/fsync.c
Previous file: linux/fs/ext/file.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Nov 26 19:23:10 1995
- Orig file:
v1.3.44/linux/fs/ext/freelists.c
- Orig date:
Mon Sep 18 14:54:05 1995
diff -u --recursive --new-file v1.3.44/linux/fs/ext/freelists.c linux/fs/ext/freelists.c
@@ -54,7 +54,7 @@
}
bh = get_hash_table(sb->s_dev, block, sb->s_blocksize);
if (bh)
- bh->b_dirt=0;
+ mark_buffer_clean(bh);
brelse(bh);
if (sb->u.ext_sb.s_firstfreeblock)
efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data;
@@ -127,7 +127,7 @@
return 0;
}
memset(bh->b_data, 0, BLOCK_SIZE);
- bh->b_uptodate = 1;
+ mark_buffer_uptodate(bh, 1);
mark_buffer_dirty(bh, 1);
brelse(bh);
#ifdef EXTFS_DEBUG
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this