Skip to content

Commit

Permalink
UBI: do not flush queue on each vtbl change
Browse files Browse the repository at this point in the history
This is just not necessary. We re-write whole layout copy, so
the old contents cannot show up again sice scan process will
drop it.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Feb 1, 2008
1 parent e653879 commit 6dc4a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/ubi/vtbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int ubi_change_vtbl_record(struct ubi_device *ubi, int idx,
}

paranoid_vtbl_check(ubi);
return ubi_wl_flush(ubi);
return 0;
}

/**
Expand Down

0 comments on commit 6dc4a87

Please sign in to comment.