Whamcloud - gitweb
libext2fs: teach e2image imager to handle bigalloc file systems
authorTheodore Ts'o <tytso@mit.edu>
Mon, 19 Mar 2018 22:23:04 +0000 (18:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Mar 2018 22:23:04 +0000 (18:23 -0400)
commit47438fccc19ceddb8a640e861674ff7b1ad04730
treeb5997c6b6cab50dedd357997ea2c78982c2c8720
parent80aa945850c1bf885694035f70a7ecf2dde96704
libext2fs: teach e2image imager to handle bigalloc file systems

Previously, "mke2fs -t ext4 -O bigalloc /tmp/foo.img 4G ;
e2image /tmp/foo.img /tmp/foo.e2i" would result in e2image
dumping core.  Fix ext2fs_image_bitmap_write() so it handles
file systems with bigalloc correctly.

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