diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-10-24 17:12:52 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-10 21:55:54 -0800 |
commit | dd9ec84da530d3a92e99ad1f52edae44533cc27f (patch) | |
tree | 43c12f26c5b2a03fd553803d808d9553f4636de8 /drivers/md | |
parent | 7857d5d470ec53bae187d144c69065ad3c0ebc21 (diff) | |
download | op-kernel-dev-dd9ec84da530d3a92e99ad1f52edae44533cc27f.zip op-kernel-dev-dd9ec84da530d3a92e99ad1f52edae44533cc27f.tar.gz |
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')
-rw-r--r-- | drivers/md/bcache/movinggc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/movinggc.c b/drivers/md/bcache/movinggc.c index 1a3b4f4..dd8a035 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) |