From: Kent Overstreet Date: Fri, 25 Oct 2013 00:12:52 +0000 (-0700) Subject: bcache: Fix a lockdep splat X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dd9ec84da530d3a92e99ad1f52edae44533cc27f;p=linux-beck.git bcache: Fix a lockdep splat bch_keybuf_del() takes a spinlock that can't be taken in interrupt context - whoops. Fortunately, this code isn't enabled by default (you have to toggle a sysfs thing). Signed-off-by: Kent Overstreet --- diff --git a/drivers/md/bcache/movinggc.c b/drivers/md/bcache/movinggc.c index 1a3b4f4786c3..dd8a035c5ae1 100644 --- a/drivers/md/bcache/movinggc.c +++ b/drivers/md/bcache/movinggc.c @@ -113,7 +113,7 @@ static void write_moving(struct closure *cl) bch_insert_data(&s->op.cl); } - continue_at(cl, write_moving_finish, NULL); + continue_at(cl, write_moving_finish, bch_gc_wq); } static void read_moving_submit(struct closure *cl)