diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2015-10-30 08:55:21 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-10-30 08:55:21 +0000 |
commit | 0525bd6eae33f9f8a1e8c593d1e87290f28c458e (patch) | |
tree | 08b984c960eb478aa3a3631ef79f8cdf8cd1391a /ext4_utils | |
parent | 72b11684dd23cfdeaeef103b02744775948a72d0 (diff) | |
parent | a17cfd8b6dfc820fd6ae88e0097387dc4a442235 (diff) | |
download | extras-0525bd6eae33f9f8a1e8c593d1e87290f28c458e.tar.gz |
Merge "ext4_utils: Parse unclean super block"
am: a17cfd8b6d
* commit 'a17cfd8b6dfc820fd6ae88e0097387dc4a442235':
ext4_utils: Parse unclean super block
Diffstat (limited to 'ext4_utils')
-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; |