From patchwork Fri May 18 07:49:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Overstreet X-Patchwork-Id: 10408419 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 EE18F601F9 for ; Fri, 18 May 2018 07:51:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E13422886A for ; Fri, 18 May 2018 07:51:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D4D2628875; Fri, 18 May 2018 07:51:47 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable 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 80B4B2886A for ; Fri, 18 May 2018 07:51:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750977AbeERHvd (ORCPT ); Fri, 18 May 2018 03:51:33 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:33514 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752445AbeERHuV (ORCPT ); Fri, 18 May 2018 03:50:21 -0400 Received: by mail-qt0-f193.google.com with SMTP id e8-v6so9174539qth.0; Fri, 18 May 2018 00:50:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uSwYjPtNSEoklFrqCnXxJR+oVBNqCaRwiiDpFK3C7EM=; b=bnvIHBjbOjfduzzRBnE4nkt3OuuPNDGmHndDe2MJ4FAhKT+CuuKlkQFW9PpuXrsKTg BjM5x0gpF6Wz1MfT0c1bQkexfJztiNoDb5NBIbFgd7QYXxK0HdtVOErh87y8WJZqEcIf FxWruSM1YWcLJK60wXrrVjuegbQmj9umO3+yDOGt/zpBqro+XsdPBFNy+uaiA5ZpCrYF 7CxzDGjcsESoi4h7E72lvC9zx3jtGh/pQB2caGcTB+3OZTWLAPGPV7n+C5b2nBWvW5w0 B/ZAkhYhZQrWLrNke3/8xq3hEJfsK/E01CTic0B2UFir07ZMV5GWABrvMn7S7PwDAOB4 fx8w== 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=uSwYjPtNSEoklFrqCnXxJR+oVBNqCaRwiiDpFK3C7EM=; b=PwHlf94cgV6RGOTVjzVjCVIiKdFt/SW8c3ViQuXS+rK53Ha21iFSFYoko7lclw6sIF KNrJZDBInW+LK4zpER9C+hNk4uVog4ZDODay86taQIUVim5Ze0E82drdAGzda/i2D8kb pm63Ct5S6PCWz91/towigGwXScbisVHWqD2FPN58HsQ8Hb7EcmLwRmjy4ALHhrCBxvaH 2wsR6djCUntpSSMwCPdIfZSE7paiwyqpY+8Cw0i0lQQcj+AvmfYJPErSt7fMBrNmELaB o1sGMeegXjvFcQCTtveNE3btHqUF9q+Vfsm7f+WtH1gDmfKmx0so+27hckcR9RJd9oUa XNYQ== X-Gm-Message-State: ALKqPweDb5UqJOzpm+3zeluNRAnqXFLY4UoqHAYpzQJuWqFIY3AVB/In +JSC8+AUbXdgDfywV/Ody2weDsLefg== X-Google-Smtp-Source: AB8JxZqhYHFhnYlhyPTfBouIvaIsRmbrqI/84W16vZiMh12FQpbylxHaT1Eub+S5Btf3KlbzPvWNig== X-Received: by 2002:a0c:9487:: with SMTP id j7-v6mr7823554qvj.104.1526629820740; Fri, 18 May 2018 00:50:20 -0700 (PDT) Received: from localhost.localdomain (c-71-234-172-214.hsd1.vt.comcast.net. [71.234.172.214]) by smtp.gmail.com with ESMTPSA id s64-v6sm5443004qkl.85.2018.05.18.00.50.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 00:50:19 -0700 (PDT) From: Kent Overstreet To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-mm@kvack.org, Jens Axboe , Ingo Molnar Cc: Kent Overstreet Subject: [PATCH 09/10] block: Export bio check/set pages_dirty Date: Fri, 18 May 2018 03:49:15 -0400 Message-Id: <20180518074918.13816-18-kent.overstreet@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180518074918.13816-1-kent.overstreet@gmail.com> References: <20180518074918.13816-1-kent.overstreet@gmail.com> 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 Signed-off-by: Kent Overstreet --- block/bio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/bio.c b/block/bio.c index 5c81391100..6689102f5d 100644 --- a/block/bio.c +++ b/block/bio.c @@ -1610,6 +1610,7 @@ void bio_set_pages_dirty(struct bio *bio) set_page_dirty_lock(page); } } +EXPORT_SYMBOL_GPL(bio_set_pages_dirty); static void bio_release_pages(struct bio *bio) { @@ -1693,6 +1694,7 @@ void bio_check_pages_dirty(struct bio *bio) bio_put(bio); } } +EXPORT_SYMBOL_GPL(bio_check_pages_dirty); void generic_start_io_acct(struct request_queue *q, int rw, unsigned long sectors, struct hd_struct *part)