• ruippan (潘睿)'s avatar
    ext4: fix EXT4_IOC_GROUP_ADD ioctl · e647e291
    ruippan (潘睿) authored
    Commit e2b911c5 ("ext4: clean up feature test macros with
    predicate functions") broke the EXT4_IOC_GROUP_ADD ioctl.  This was
    not noticed since only very old versions of resize2fs (before
    e2fsprogs 1.42) use this ioctl.  However, using a new kernel with an
    enterprise Linux userspace will cause attempts to use online resize to
    fail with "No reserved GDT blocks".
    
    Fixes: e2b911c5 ("ext4: clean up feature test macros with predicate...")
    Cc: stable@kernel.org # v4.4
    Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
    Signed-off-by: default avatarruippan (潘睿) <ruippan@tencent.com>
    e647e291
resize.c 59.7 KB