]> git.itanic.dy.fi Git - linux-stable/commit
Revert "ext4: consolidate checks for resize of bigalloc into ext4_resize_begin"
authorTheodore Ts'o <tytso@mit.edu>
Thu, 1 Jul 2021 00:54:22 +0000 (20:54 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Jul 2021 00:54:22 +0000 (20:54 -0400)
commit8813587a996e7d2ae160be3b79f9f70d9fef4583
tree5c6a450c1cfce419c410329633f931fbdb108d4e
parent16aa4c9a1fbe763c147a964cdc1f5be8ed98ed13
Revert "ext4: consolidate checks for resize of bigalloc into ext4_resize_begin"

The function ext4_resize_begin() gets called from three different
places, and online resize for bigalloc file systems is disallowed from
the old-style online resize (EXT4_IOC_GROUP_ADD and
EXT4_IOC_GROUP_EXTEND), but it *is* supposed to be allowed via
EXT4_IOC_RESIZE_FS.

This reverts commit e9f9f61d0cdcb7f0b0b5feb2d84aa1c5894751f3.
fs/ext4/ioctl.c
fs/ext4/resize.c