Re: [PATCH] closures: move to lib/

From: Kent Overstreet
Date: Wed Dec 18 2013 - 20:37:14 EST


On Wed, Dec 18, 2013 at 05:34:31PM -0800, Dan Williams wrote:
> On Wed, Dec 18, 2013 at 5:29 PM, Kent Overstreet <kmo@xxxxxxxxxxxxx> wrote:
> > the closure code was never intended to be bcache specific - hopefully it can be
> > useful elsewhere in the kernel.
> >
> > Signed-off-by: Kent Overstreet <kmo@xxxxxxxxxxxxx>
> > Cc: Tejun Heo <tj@xxxxxxxxxx>
> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
> > Cc: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> > Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> > ---
> > drivers/md/bcache/Kconfig | 9 -
> > drivers/md/bcache/Makefile | 2 +-
> > drivers/md/bcache/bcache.h | 2 +-
> > drivers/md/bcache/closure.c | 222 ----------------------
> > drivers/md/bcache/closure.h | 453 --------------------------------------------
> > drivers/md/bcache/util.h | 3 +-
> > include/linux/closure.h | 451 +++++++++++++++++++++++++++++++++++++++++++
> > lib/Kconfig.debug | 8 +
> > lib/Makefile | 2 +-
> > lib/closure.c | 218 +++++++++++++++++++++
> > 10 files changed, 681 insertions(+), 689 deletions(-)
> > delete mode 100644 drivers/md/bcache/closure.c
> > delete mode 100644 drivers/md/bcache/closure.h
> > create mode 100644 include/linux/closure.h
> > create mode 100644 lib/closure.c
>
> This would be smaller to review with git diff -M

I forgot to mention - this is on top of other stuff I have queued up which
deletes a fair amount of code in closure.[ch] (finally got rid of some stuff
Tejun hated).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/