]> asedeno.scripts.mit.edu Git - linux.git/commit
UBI: wl: Rename cancel flag to shutdown
authorRichard Weinberger <richard@nod.at>
Mon, 22 Sep 2014 08:45:35 +0000 (10:45 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 26 Sep 2014 10:43:32 +0000 (13:43 +0300)
commit849271a4e4b723c521df0f55d67614d8ffd5e125
treef79e33b8a7b2ad7bad60a065df92915450cc6036
parent170505f58f01d89dea2667d484cb5da18fb9ffd9
UBI: wl: Rename cancel flag to shutdown

It confused me more than once that the cancel flag of the
work function does not indicate the cancellation of a single work.
In fact it indicates the WL sub-system shutdown and therefore
worker functions have to free their wl_entries too.
That's why you cannot cancel a single work, you can only shutdown
all works.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/ubi.h
drivers/mtd/ubi/wl.c