Whamcloud - gitweb
e2image: skip uninitialized bitmaps and inode tables
authorPhillip Susi <psusi@ubuntu.com>
Mon, 27 Feb 2012 05:56:49 +0000 (00:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 27 Feb 2012 05:56:49 +0000 (00:56 -0500)
commit6c9ce8a9b060ff81b537560a9880c569e60ca512
treee8750e25780861c2140b3a06ae8a13fb6c2f5163
parent30ac1ce7df719e40b0c3c612696ada7c9ebbaed2
e2image: skip uninitialized bitmaps and inode tables

When the block bitmap is uninitialized, skip copying it.
When the inode bitmap is uninitialized, skip copying it,
as well as the inode table.  When there are unused inodes
towards the end of the table, skip those blocks too.

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.c