[PATCH 05/35] UBI: Fastmap: Ensure that only one fastmap work is scheduled
Richard Weinberger
richard at nod.at
Wed Nov 5 07:47:20 PST 2014
Am 05.11.2014 um 16:42 schrieb Artem Bityutskiy:
> On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote:
>> struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work);
>> ubi_update_fastmap(ubi);
>> + spin_lock(&ubi->wl_lock);
>> + ubi->fm_work_scheduled = 0;
>> + spin_unlock(&ubi->wl_lock);
>> }
>
> Why is the 'update_fastmap_work_fn()' function in wl.c? Can we move it
> to fastmap.c?
>
Please see "[PATCH 29/35] UBI: Move fastmap specific functions out of wl.c".
Thanks,
//richard
More information about the linux-mtd
mailing list