diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-08-23 11:33:22 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-08-23 11:33:22 -0400 |
commit | f56db533fc5be9a1398ae9ff67fc03837cc667ea (patch) | |
tree | bf707e76cf53f4ba17d3b2605a8ac07ad4f5719d /misc | |
parent | 0e49172e83dfb0e8ded7e1756c5b3c6e64601fe3 (diff) | |
parent | f2243f1bdcc3ce711157151805e7e78112bcd3bc (diff) | |
download | android_external_e2fsprogs-f56db533fc5be9a1398ae9ff67fc03837cc667ea.tar.gz android_external_e2fsprogs-f56db533fc5be9a1398ae9ff67fc03837cc667ea.tar.bz2 android_external_e2fsprogs-f56db533fc5be9a1398ae9ff67fc03837cc667ea.zip |
Merge branch 'maint' into next
Diffstat (limited to 'misc')
-rw-r--r-- | misc/e2image.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/e2image.c b/misc/e2image.c index d32b84a3..9e21d0db 100644 --- a/misc/e2image.c +++ b/misc/e2image.c @@ -416,6 +416,14 @@ static void mark_table_blocks(ext2_filsys fs) } meta_blocks_count += fs->desc_blocks; + /* + * Mark MMP block + */ + if (fs->super->s_feature_incompat & EXT4_FEATURE_INCOMPAT_MMP) { + ext2fs_mark_block_bitmap2(meta_block_map, fs->super->s_mmp_block); + meta_blocks_count++; + } + for (i = 0; i < fs->group_desc_count; i++) { /* * Mark the blocks used for the inode table |