--- zzzz-none-000/linux-4.4.60/drivers/mtd/ubi/vtbl.c 2017-04-08 07:53:53.000000000 +0000 +++ jet-2400-727/linux-4.4.60/drivers/mtd/ubi/vtbl.c 2021-03-17 14:36:41.000000000 +0000 @@ -557,7 +557,8 @@ vol->name[vol->name_len] = '\0'; vol->vol_id = i; - if (vtbl[i].flags & UBI_VTBL_AUTORESIZE_FLG) { + if (vtbl[i].flags & (UBI_VTBL_AUTORESIZE_FLG | + UBI_VTBL_AUTORESIZE_FLG_LINUX)) { /* Auto re-size flag may be set only for one volume */ if (ubi->autoresize_vol_id != -1) { ubi_err(ubi, "more than one auto-resize volume (%d and %d)",