Whamcloud - gitweb
libext2fs: fix unaligned, multiblock writes in the unix_io handler
authorTheodore Ts'o <tytso@mit.edu>
Sun, 11 Sep 2016 04:25:48 +0000 (00:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 11 Sep 2016 04:25:48 +0000 (00:25 -0400)
commitd6cad379eb6c86ca58bf5b83a586577de412a2e6
tree0fd21f74297e08f9c236662d6ed60f181b42660d
parent4e52870eeb08ed7532bf4fd3d5cb1538f714bdc8
libext2fs: fix unaligned, multiblock writes in the unix_io handler

The read-modify-write code for the unaligned fallback code wasn't
working for multi-block writes.  This was unmasked by FreeBSD 11-rc2,
since its malloc() is returning unaligned memory regions for large
memory regions.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/unix_io.c