]> git.neil.brown.name Git - history.git/commit
[PATCH] ext3 corruption fix
authorAndrew Morton <akpm@zip.com.au>
Tue, 18 Jun 2002 03:17:34 +0000 (20:17 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 18 Jun 2002 03:17:34 +0000 (20:17 -0700)
commitafb51f819b777e9650470e066450d5f887483b19
tree20f3ced65a1e13272ba9cec66a7a44778506a6f0
parente3e529bfc6d7ed94570b36fdf6cf3c9935e9a7c4
[PATCH] ext3 corruption fix

Stephen and Neil Brown recently worked this out.  It's a
rare situation which only affects data=journal mode.

Fix problem in data=journal mode where writeback could be left pending on a
journaled, deleted disk block.  If that block then gets reallocated, we can
end up with an alias in which the old data can be written back to disk over
the new.  Thanks to Neil Brown for spotting this and coming up with the
initial fix.
fs/jbd/commit.c
fs/jbd/transaction.c
include/linux/jbd.h