]> 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)
commitbcab684429ace0bacaf618986d3c33217c4e1833
tree5c6a450c1cfce419c410329633f931fbdb108d4e
parentcf5352a2347d606828678ad6664af8658b23e3a3
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 a119f131894575e3d6ded2faed90ef93d9562896.
fs/ext4/ioctl.c
fs/ext4/resize.c