[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1415202120.958.123.camel@sauron.fi.intel.com>
Date: Wed, 05 Nov 2014 17:42:00 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Richard Weinberger <richard@....at>
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
tlinder@...eaurora.org
Subject: Re: [PATCH 05/35] UBI: Fastmap: Ensure that only one fastmap work
is scheduled
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists