aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/resize.c')
-rw-r--r--fs/ext4/resize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c
index 87350b642681..bc8ee0c498cc 100644
--- a/fs/ext4/resize.c
+++ b/fs/ext4/resize.c
@@ -1631,7 +1631,7 @@ int ext4_group_add(struct super_block *sb, struct ext4_new_group_data *input)
1631 } 1631 }
1632 1632
1633 if (reserved_gdb || gdb_off == 0) { 1633 if (reserved_gdb || gdb_off == 0) {
1634 if (ext4_has_feature_resize_inode(sb) || 1634 if (!ext4_has_feature_resize_inode(sb) ||
1635 !le16_to_cpu(es->s_reserved_gdt_blocks)) { 1635 !le16_to_cpu(es->s_reserved_gdt_blocks)) {
1636 ext4_warning(sb, 1636 ext4_warning(sb,
1637 "No reserved GDT blocks, can't resize"); 1637 "No reserved GDT blocks, can't resize");