Felix Fietkau d92ec071b2 mtd: fix erase handling with partition offset on write
When a partition offset is given, it is used in an lseek call, which
affects write, but not erase. Add it to the offset for erase calls as
well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-04-20 10:03:38 +02:00
..
2018-02-13 11:16:49 +01:00
2016-10-27 01:50:42 +03:00
2018-02-13 11:16:49 +01:00
2016-10-27 01:50:42 +03:00
2016-10-27 01:50:42 +03:00