journal.c (mark_buffer_uptodate): Add emulation of kernel function
mark_buffer_uptodate.
2001-03-29 Theodore Tso <tytso@valinux.com>
+ * journal.c (mark_buffer_uptodate): Add emulation of kernel
+ function mark_buffer_uptodate.
+
* recovery.c, revoke.c: Synchronize with 0.6b ext3 files.
2001-02-12 Theodore Tso <tytso@valinux.com>
struct buffer_head *getblk(e2fsck_t ctx, blk_t blocknr, int blocksize);
void ll_rw_block(int rw, int dummy, struct buffer_head *bh[]);
void mark_buffer_dirty(struct buffer_head *bh, int dummy);
+void mark_buffer_uptodate(struct buffer_head *bh, int val);
void brelse(struct buffer_head *bh);
int buffer_uptodate(struct buffer_head *bh);
void wait_on_buffer(struct buffer_head *bh);
return bh->b_uptodate;
}
+void mark_buffer_uptodate(struct buffer_head *bh, int val)
+{
+ bh->b_uptodate = val;
+}
+
void wait_on_buffer(struct buffer_head *bh)
{
if (!bh->b_uptodate)