Whamcloud - gitweb
e2fsck: use ext2fs_get_mem() instad of ext2fs_get_memalign()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 19 Sep 2014 05:30:04 +0000 (01:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 Sep 2014 05:30:04 +0000 (01:30 -0400)
commit755a6083d8b5e1ac4ddcb1aaeb307771fe181543
tree02e24cd3b38dc83b097349b65e90329fdf626894
parentcc0d98330331dae2145458f3ddc49a7a08e489eb
e2fsck: use ext2fs_get_mem() instad of ext2fs_get_memalign()

There is no reason to request a aligned buffer in
check_{inode,block}_bitmap, and this will cause failures for dietlibc,
which doesn't have support for posix_memalign() or any other way to
request an aligned memory allocation.  Fortunately, this is only
needed in very few places where direct I/O is required.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass5.c