summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/movinggc.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-10-25 04:12:52 +0400
committerKent Overstreet <kmo@daterainc.com>2013-11-11 09:55:54 +0400
commitdd9ec84da530d3a92e99ad1f52edae44533cc27f (patch)
tree43c12f26c5b2a03fd553803d808d9553f4636de8 /drivers/md/bcache/movinggc.c
parent7857d5d470ec53bae187d144c69065ad3c0ebc21 (diff)
downloadlinux-dd9ec84da530d3a92e99ad1f52edae44533cc27f.tar.xz
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 <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/movinggc.c')
-rw-r--r--drivers/md/bcache/movinggc.c2
1 files changed, 1 insertions, 1 deletions
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)