ext4: fix online resizing for bigalloc file systems with a 1k block size

commit 5f8c10936f upstream.

An online resize of a file system with the bigalloc feature enabled
and a 1k block size would be refused since ext4_resize_begin() did not
understand s_first_data_block is 0 for all bigalloc file systems, even
when the block size is 1k.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Theodore Ts'o 2018-09-03 22:25:01 -04:00 • committed by Ben Hutchings
commit 299ee9f160