]> git.hungrycats.org Git - linux/commit
[PATCH] jbd copyout fix
authorAndrew Morton <akpm@osdl.org>
Tue, 13 Apr 2004 11:48:41 +0000 (04:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 13 Apr 2004 11:48:41 +0000 (04:48 -0700)
commite0ae6ae65f205b0018d41e14a0887de198abd9b3
tree132242752a885916cc9e3f663c0e5484c5a64d20
parentdf9b57fa1c59c7b150c8e681fc834904060e586a
[PATCH] jbd copyout fix

When I converted journal_write_metadata_buffer() to kmap_atomic() I screwed
up the handling of the copyout buffers - we're currently writing four zeroes
into the user's page rather than into the data which is to be written to the
journal (oops).

Net effect: any block which starts with 0xC03B3998 gets scribbled on in
data=journal mode.
fs/jbd/journal.c