ext4: fix online resizing for bigalloc file systems with a 1k block size
authorTheodore Ts'o <tytso@mit.edu>
Tue, 4 Sep 2018 02:25:01 +0000 (22:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Sep 2018 02:25:01 +0000 (22:25 -0400)
commit5f8c10936fab2b69a487400f2872902e597dd320
tree239d1e7028b09e26dcbc03dd7f70a7c29d751a28
parentf0a459dec5495a3580f8d784555e6f8f3bf7f263
ext4: fix online resizing for bigalloc file systems with a 1k block size

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>
Cc: stable@vger.kernel.org
fs/ext4/resize.c