diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2015-10-30 08:51:51 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-10-30 08:51:51 +0000 |
commit | a17cfd8b6dfc820fd6ae88e0097387dc4a442235 (patch) | |
tree | 9c628fa801b513156ca0924b22da024cf79d23da | |
parent | 98202de709ed70ec3b3e80baa061dfc064754b6b (diff) | |
parent | cb7274dc9876015f49bf339dd5a6978d12b703ad (diff) | |
download | extras-a17cfd8b6dfc820fd6ae88e0097387dc4a442235.tar.gz |
Merge "ext4_utils: Parse unclean super block"
-rw-r--r-- | ext4_utils/ext4_sb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext4_utils/ext4_sb.c b/ext4_utils/ext4_sb.c index 1d527a10..7bbbcfe3 100644 --- a/ext4_utils/ext4_sb.c +++ b/ext4_utils/ext4_sb.c @@ -25,9 +25,6 @@ int ext4_parse_sb(struct ext4_super_block *sb, struct fs_info *info) if (sb->s_magic != EXT4_SUPER_MAGIC) return -EINVAL; - if ((sb->s_state & EXT4_VALID_FS) != EXT4_VALID_FS) - return -EINVAL; - info->block_size = 1024 << sb->s_log_block_size; info->blocks_per_group = sb->s_blocks_per_group; info->inodes_per_group = sb->s_inodes_per_group; |