UBI_STATIC_VOLUME
av->vol_type != UBI_STATIC_VOLUME) {
if (av->vol_type == UBI_STATIC_VOLUME) {
UBI_DYNAMIC_VOLUME : UBI_STATIC_VOLUME;
if (av->vol_type == UBI_STATIC_VOLUME)
: UBI_STATIC_VOLUME;
if (nt->vi.vol_type == UBI_STATIC_VOLUME)
if (vol->vol_type == UBI_STATIC_VOLUME)
vol->vol_type == UBI_STATIC_VOLUME) {
vol->vol_type == UBI_STATIC_VOLUME) {
req->vol_type != UBI_STATIC_VOLUME)
req->vol_type != UBI_STATIC_VOLUME)
ubi_assert(vol->vol_type != UBI_STATIC_VOLUME);
vol->vol_type == UBI_STATIC_VOLUME);
if (av->vol_type == UBI_STATIC_VOLUME)
if (av->vol_type == UBI_STATIC_VOLUME)
if (vi->vol_type == UBI_STATIC_VOLUME)
if (vol->vol_type == UBI_STATIC_VOLUME) {
if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) {
if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) {
if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
if (vol->vol_type != UBI_STATIC_VOLUME)
if (vol->vol_type == UBI_STATIC_VOLUME) {
if (vol->vol_type == UBI_STATIC_VOLUME &&
vol->vol_type != UBI_STATIC_VOLUME) {
vol_type = UBI_STATIC_VOLUME;
UBI_DYNAMIC_VOLUME : UBI_STATIC_VOLUME;
if (c->vi.vol_type == UBI_STATIC_VOLUME) {