ext4: check mount's handling for very large s_first_meta_bg
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Fri, 21 Apr 2017 10:10:39 +0000 (18:10 +0800)
committerEryu Guan <eguan@redhat.com>
Mon, 24 Apr 2017 10:01:33 +0000 (18:01 +0800)
commit427db760cfc78d6b09bf0eda41c971b65b5cc97e
tree444fcce772315cc8f080b3bb9319a2f74d03ab64
parent3501b86c9db5dfc701229f0388eb2c39b7f4aca3
ext4: check mount's handling for very large s_first_meta_bg

On ext4 filesystem, the kernel carshes at mount time when
s_first_meta_bg's value exceeds the largest possible meta_bg
number.  This kernel bug has been fixed in:

3a4b77c ext4: validate s_first_meta_bg at mount time

[eguan: add comments on the first_meta_bg value]

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/ext4/025 [new file with mode: 0755]
tests/ext4/025.out [new file with mode: 0644]
tests/ext4/group