From patchwork Sat Dec 30 23:09:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Lyle X-Patchwork-Id: 10138023 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 68C5F60375 for ; Sat, 30 Dec 2017 23:09:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B4EC28784 for ; Sat, 30 Dec 2017 23:09:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4FFC2287A6; Sat, 30 Dec 2017 23:09:51 +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 EBA2028784 for ; Sat, 30 Dec 2017 23:09:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751023AbdL3XJt (ORCPT ); Sat, 30 Dec 2017 18:09:49 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:44967 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbdL3XJs (ORCPT ); Sat, 30 Dec 2017 18:09:48 -0500 Received: by mail-pl0-f67.google.com with SMTP id n13so24956626plp.11 for ; Sat, 30 Dec 2017 15:09:47 -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=iPeHCg01eIDKriIzjTHduUhE3DpHwFfjPMC19D7j2mU=; b=sRAknM7jFI27Mc3Zejd8XlsLWGpvFAft1dxsewTHLzdQ7h7wUErfBTgPLDQ0PVI6KT EGyArCiNjELqowCDH+/pfTFli/9NpxHJR/CG7YoS/+Q3xTx4CgFkoqIOCGGL+yYmAZr2 5cuRp0VCzVIyWO/vZ+NC4iT51/aT6pDYdAseSZcLzZH0LwfyzP5mJ+KAdNbPrlwjfHGz U5kq3LpGWeFzZFgr6occAEUyDQN7aEAwlXIWCbIhtiBL+UXzFvcWqt+csj2aOUYIcjQp ckcQTxNto0bzuLP943LLCt3LB5fBxSf3UMEqOIsvqMxVCKqM8Gn9vKVeVUmCoFT2Ancp wlvw== 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=iPeHCg01eIDKriIzjTHduUhE3DpHwFfjPMC19D7j2mU=; b=cay/pGnadFICFoqGDygyX142Ayby08WN6oNZGsyfiQYK+ktjGcBph44TOuvU5P2lkk 9c8Y98hH2kJpB/7IEVFrHDmT3Vukxv4da4rXMpDjL8NDSiwwAwbuJN/Y07p9DkSYkMlf s2dggeeZRGBGdnuSJV7G/tczcn5j832JgPVXdoBDT1ZsUwE9ek5eKX4hjAb8Tw7qb6AV T6Yzyh+RSghjFqwMeO9nGCZdu6hAp/tmS/PuM6V/dRW3TdBWkhCyh+TX5Xv797pgWZfq yiZAM8wMf7l6xSdEGNKAeXQzgNb9d/m/8jvoQx15Iv43+vftGgS8cBHSBehIQ7J3ig8n hR5Q== X-Gm-Message-State: AKGB3mIQc+xGH7ycNPtEvOWERy1hcV7E43wd46QYqjwTPJHfs1+aQY5c QCLI9Hv9l1k9qc7CFrYBhaSBeQ== X-Google-Smtp-Source: ACJfBotVXsmc/vxmh8wVZRQvlRvRmtec7iYVCoJa7TUBMHePBcCUC8ePkEDUCUI7iX+PTZaq3n+ABA== X-Received: by 10.159.216.139 with SMTP id s11mr38347302plp.266.1514675387359; Sat, 30 Dec 2017 15:09:47 -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 j6sm78728161pfg.85.2017.12.30.15.09.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Dec 2017 15:09:46 -0800 (PST) From: Michael Lyle To: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org Cc: Kent Overstreet , Michael Lyle Subject: [for-416 PATCH 2/2] bcache: mark closure_sync() __sched Date: Sat, 30 Dec 2017 15:09:34 -0800 Message-Id: <20171230230934.910-2-mlyle@lyle.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171230230934.910-1-mlyle@lyle.org> References: <20171230230934.910-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 8a4f4e4f5537..23eb3d1223e7 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 };