aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-01-08 12:21:26 -0800
committerJens Axboe <axboe@kernel.dk>2018-01-08 13:29:00 -0700
commitce439bf78b4850cadb1e67f0d4a48178d489c75d (patch)
tree2e54baffa29a36045ce10ba7836ffce0219901d1 /drivers/md
parentbcache: Fix, improve efficiency of closure_sync() (diff)
downloadlinux-dev-ce439bf78b4850cadb1e67f0d4a48178d489c75d.tar.xz
linux-dev-ce439bf78b4850cadb1e67f0d4a48178d489c75d.zip
bcache: mark closure_sync() __sched
[edit by mlyle: include sched/debug.h to get __sched] Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Michael Lyle <mlyle@lyle.org> Reviewed-by: Michael Lyle <mlyle@lyle.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/bcache/closure.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c
index ca7ace6962a4..7f12920c14f7 100644
--- a/drivers/md/bcache/closure.c
+++ b/drivers/md/bcache/closure.c
@@ -8,6 +8,7 @@
#include <linux/debugfs.h>
#include <linux/module.h>
#include <linux/seq_file.h>
+#include <linux/sched/debug.h>
#include "closure.h"
@@ -107,7 +108,7 @@ static void closure_sync_fn(struct closure *cl)
wake_up_process(cl->s->task);
}
-void __closure_sync(struct closure *cl)
+void __sched __closure_sync(struct closure *cl)
{
struct closure_syncer s = { .task = current };