]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e97b9bc877d190af35abe8efa19391c176a7666
tree239d1e7028b09e26dcbc03dd7f70a7c29d751a28
parentaae12c1adcaca67d86fb3ac6cafb35d00eff9b96
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