search for: __buffer_state

Displaying 2 results from an estimated 2 matches for "__buffer_state".

Did you mean: yy_buffer_state
2002 May 31
2
PATCH for filesys corruption in ext3 with data=journal
...by file contents. NeilBrown --- ./fs/jbd/commit.c 2002/05/28 04:15:18 1.1 +++ ./fs/jbd/commit.c 2002/05/28 22:44:48 @@ -663,12 +663,13 @@ * there's no point in keeping a checkpoint record for * it. */ bh = jh2bh(jh); - if (buffer_jdirty(bh)) { + if (buffer_jdirty(bh) && !__buffer_state(bh, Freed)) { JBUFFER_TRACE(jh, "add to new checkpointing trans"); __journal_insert_checkpoint(jh, commit_transaction); JBUFFER_TRACE(jh, "refile for checkpoint writeback"); __journal_refile_buffer(jh); } else { + clear_bit(BH_Freed, &bh->b_state);...
2002 Dec 01
3
data corrupting bug in 2.4.20 ext3, data=journal
In 2.4.20-pre5 an optimisation was made to the ext3 fsync function which can very easily cause file data corruption at unmount time. This was first reported by Nick Piggin on November 29th (one day after 2.4.20 was released, and three months after the bug was merged. Unfortunate timing) This only affects filesystems which were mounted with the `data=journal' option. Or files which are