]> git.baikalelectronics.ru Git - kernel.git/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)
commitabc3cd117b75082c9bafbae0359a704557a16673
tree5c6a450c1cfce419c410329633f931fbdb108d4e
parentcae43ec2a8c5534f21fa298fbbddd71942435418
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 bd9703b83aaaa4543c7541fc95f38f24a8a40aa8.
fs/ext4/ioctl.c
fs/ext4/resize.c