From patchwork Mon Jan 8 20:21:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Lyle X-Patchwork-Id: 10150545 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 80463605BA for ; Mon, 8 Jan 2018 20:22:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88CE228785 for ; Mon, 8 Jan 2018 20:22:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8729C1FFDA; Mon, 8 Jan 2018 20:22:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B79E289AD for ; Mon, 8 Jan 2018 20:22:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757236AbeAHUVz (ORCPT ); Mon, 8 Jan 2018 15:21:55 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:37558 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757227AbeAHUVv (ORCPT ); Mon, 8 Jan 2018 15:21:51 -0500 Received: by mail-pg0-f66.google.com with SMTP id z17so365196pgc.4 for ; Mon, 08 Jan 2018 12:21:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyle-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9bpXN3JY6XTtd7C8+utNVvKyB/aV0SWA8CbBmhiHuG0=; b=R/sQjbq3w2gK7F4ejVULlMIQxD3pQ3MYhqWQItrnh+7lJREfpPTjFTroqUHAFHMH7j 1Om1wppZbrrGeMusyiAiuRKBndzJt+R5UrDzJFIDOBEcZuEZ8fTOkbIVDU0Leeu5y2dm p+ruZ+0NH5cF7HsY+c6SbxNqKTKtEQ/LXuxD6I6UYFSVdo0Y1boY/VuPuXuangrqP+1z TqP70Ea8oCTwmZWXK2QLsTa895g+q/FmIbQ3MrXaaZ75wdPSUQxjNKI2KAWIF32m5izS 9vjp20MUIedgb/4gfNqNMAQSk4GHNCrx4e/2G3pK4/ecdJ7POJ23E/DnTAlBuGpvVF9p PINQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9bpXN3JY6XTtd7C8+utNVvKyB/aV0SWA8CbBmhiHuG0=; b=E9bGeXr/niYxhFUYACRu731BqWs+CkXRN/AHlJR0df/y+v9HWmsJHNN8yjHna8J65T 8MFk4BNGhz8mT8GXWiOE8oJBsgaX/WcnuqgryJOi7YwfDINGSatVJ76W2Sluqq0WamAe Tga78tZINTkMy24v/tpKVKmh8sSt7pRjvEvnPvkk632JezrwCVCONaj0zgzppYR02G3w MlcqA6HibU0+PFeQZZTqM/03V+rBmfsTzLNUjVcSn00ZUHUeniyyLGDHP5X8swLH+WU8 X07C53A0WA2XTCsNVIJ5fMKkQIDB91qaFLD9vT1o38gZKrAg1jVSIaDSPb88TpwTM/wn cWlQ== X-Gm-Message-State: AKGB3mISsVJJRviszFZzoAvu7oCKSE70W4UuepNyYF1ION4/VqvoSCel K2ENWpZI0Vo8+vl5OugzA8N3Ug== X-Google-Smtp-Source: ACJfBot/1uTmTdyu2L8q44NMzUI9Xxsz5UT1rtM4AmAJ+NW4Lggcq9RvdVMIYtq7tyrfQdhYKNvQYg== X-Received: by 10.101.66.198 with SMTP id l6mr10305846pgp.148.1515442910411; Mon, 08 Jan 2018 12:21:50 -0800 (PST) Received: from midnight.lan (2600-6c52-6200-383d-a0f8-4aea-fac9-9f39.dhcp6.chtrptr.net. [2600:6c52:6200:383d:a0f8:4aea:fac9:9f39]) by smtp.gmail.com with ESMTPSA id o70sm28540227pfk.79.2018.01.08.12.21.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jan 2018 12:21:49 -0800 (PST) From: Michael Lyle To: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org Cc: axboe@fb.com, Kent Overstreet , Michael Lyle Subject: [416 PATCH 09/13] bcache: mark closure_sync() __sched Date: Mon, 8 Jan 2018 12:21:26 -0800 Message-Id: <20180108202130.31303-10-mlyle@lyle.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180108202130.31303-1-mlyle@lyle.org> References: <20180108202130.31303-1-mlyle@lyle.org> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kent Overstreet [edit by mlyle: include sched/debug.h to get __sched] Signed-off-by: Kent Overstreet Signed-off-by: Michael Lyle Reviewed-by: Michael Lyle --- drivers/md/bcache/closure.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include #include +#include #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 };