Commit 346b3fc3 authored by Tim Gardner's avatar Tim Gardner

Revert "UBUNTU: SAUCE: bcache: prevent crash on changing writeback_running"

BugLink: http://bugs.launchpad.net/bugs/1553179

This reverts commit 6ac65b6e.

Revert in favor of upstream stable.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 928285d5
......@@ -63,8 +63,7 @@ static inline bool should_writeback(struct cached_dev *dc, struct bio *bio,
static inline void bch_writeback_queue(struct cached_dev *dc)
{
if (!IS_ERR_OR_NULL(dc->writeback_thread))
wake_up_process(dc->writeback_thread);
wake_up_process(dc->writeback_thread);
}
static inline void bch_writeback_add(struct cached_dev *dc)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment