]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: consolidate checks for resize of bigalloc into ext4_resize_begin
authorJosh Triplett <josh@joshtriplett.org>
Mon, 7 Jun 2021 19:15:08 +0000 (12:15 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 24 Jun 2021 14:22:36 +0000 (10:22 -0400)
commita119f131894575e3d6ded2faed90ef93d9562896
treee3528f44a11d573a30ca88c6d7f53ebfe5c7bc79
parentbe0c1fdc00b16211e7774e26bfe2f6a8fe9f224a
ext4: consolidate checks for resize of bigalloc into ext4_resize_begin

Two different places checked for attempts to resize a filesystem with
the bigalloc feature. Move the check into ext4_resize_begin, which both
places already call.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Link: https://lore.kernel.org/r/bee03303d999225ecb3bfa5be8576b2f4c6edbe6.1623093259.git.josh@joshtriplett.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ioctl.c
fs/ext4/resize.c