Whamcloud - gitweb
libext2fs: fix bug in unix_io corrupted > 16TB file systems on 32-bit systems
authorTheodore Ts'o <tytso@mit.edu>
Mon, 14 May 2012 14:55:09 +0000 (10:55 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 May 2012 14:55:09 +0000 (10:55 -0400)
commit40024fdbafdf3875a0950e8fee5dd8bf69ea6b6c
tree7c41e39c8acb9cf173700119dbb26da332a044c2
parentce10c313e618826544779ec26432a6ffb0cbb684
libext2fs: fix bug in unix_io corrupted > 16TB file systems on 32-bit systems

The code was assuming that "unsigned long" was 64-bit, which of course
it isn't on 32-bit systems.  This caused blocks to get written to the
wrong place.

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