Message ID | 56d08bc182becd35eaa4605c970936caca312cae.1538072009.git.osandov@fb.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fsdevel-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2DF68175A for <patchwork-linux-fsdevel@patchwork.kernel.org>; Thu, 27 Sep 2018 18:18:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D4662B3B0 for <patchwork-linux-fsdevel@patchwork.kernel.org>; Thu, 27 Sep 2018 18:18:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1195B2B961; Thu, 27 Sep 2018 18:18:13 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,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 B4AC029988 for <patchwork-linux-fsdevel@patchwork.kernel.org>; Thu, 27 Sep 2018 18:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728390AbeI1Ahl (ORCPT <rfc822;patchwork-linux-fsdevel@patchwork.kernel.org>); Thu, 27 Sep 2018 20:37:41 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35901 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728251AbeI1Ahk (ORCPT <rfc822;linux-fsdevel@vger.kernel.org>); Thu, 27 Sep 2018 20:37:40 -0400 Received: by mail-pg1-f193.google.com with SMTP id d1-v6so2551465pgo.3 for <linux-fsdevel@vger.kernel.org>; Thu, 27 Sep 2018 11:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ocSFXP7O1JUc5iJPcip80IbqCw8dHalc06/sU/WM7Ns=; b=VbtSIMXjOIJxw3zIp5D2Jbe/ciMod9y1Cw+jsDmd9QOitaT+GkvgeA00kJgaJ15bWW kczqRYZ2YX2NudovKmwam+l+3J/zolw7IhIBzmklG3MJwW9ad23JrzPvm+F5M+M6NJ6Q 0Mhm+s+OCT7VLAPr3iuag8vgt5xNLTji+eMS5ATZGvGqn4/LX/VL1dQVwTChz92VQHWs fXAX8lXozUtoS77Jijm0k0Wrs4XygxP/yXjRo88G6NqexA8hLdmLFHZX9mmxNhRV1B/l NnPNG1rrr94agLkOb5mV1+oaDDGsUVwN9LKZnTyyjweXlVcd6OjgZkkwLeYWu0+hlPb7 ug2w== 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:mime-version:content-transfer-encoding; bh=ocSFXP7O1JUc5iJPcip80IbqCw8dHalc06/sU/WM7Ns=; b=IxLo0wt7D1VpTtJvuzBhI/lrNvDvf616Uu+AZai21dJhVPWz/xShw1eSPrLtMtqj5F qn4FTrqVBjsEIUNOIGf8LQlntelY9FP+YGKowZsYAVZiC1Erc4DKi+pgjpW6+JZ4Hiaj ceAr6b4ss3EL/6hUD5sQN8MwPx1WaKaCqxFj+MHVUtZHKlPQJ1d+TGlruRvniwx7omTh SoF2/2craP5XGdXT8KSv9vgvjp8GBF1I1C4jf6bQqjjlFhJxc0yITmEznHUYfInhD4pu NgUregqqnUEzVKgeiWdJSOphIQfpPlIy+CowrdbVOpTCgzMXbDV1EP2ZF8foVkQhgn/I xFlA== X-Gm-Message-State: ABuFfogGIK+l+81kFNkA49tV2uX+zQ+og+i4Mf8kOynhdZEJ9+7zGi9v Mp0TwdekBCcrRqcwq3iLcLlGdw== X-Google-Smtp-Source: ACcGV62I52V4bUXBdNvnT4sH4FX9jm0Yga4su74IE1PYyAotxg6MJaZ7uJ+a1QxKzbcshOmLiZzI0w== X-Received: by 2002:a17:902:1ab:: with SMTP id b40-v6mr93392plb.82.1538072289745; Thu, 27 Sep 2018 11:18:09 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:200::5:3e64]) by smtp.gmail.com with ESMTPSA id p19-v6sm4086614pgh.60.2018.09.27.11.18.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 11:18:09 -0700 (PDT) From: Omar Sandoval <osandov@osandov.com> To: linux-btrfs@vger.kernel.org Cc: kernel-team@fb.com, David Sterba <dsterba@suse.com>, linux-fsdevel@vger.kernel.org Subject: [PATCH v9 2/6] mm: export add_swap_extent() Date: Thu, 27 Sep 2018 11:17:34 -0700 Message-Id: <56d08bc182becd35eaa4605c970936caca312cae.1538072009.git.osandov@fb.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <cover.1538072009.git.osandov@fb.com> References: <cover.1538072009.git.osandov@fb.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fsdevel.vger.kernel.org> X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Btrfs: implement swap file support
|
expand
|
diff --git a/mm/swapfile.c b/mm/swapfile.c index d3f95833d12e..51cb30de17bc 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -2365,6 +2365,7 @@ add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, list_add_tail(&new_se->list, &sis->first_swap_extent.list); return 1; } +EXPORT_SYMBOL_GPL(add_swap_extent); /* * A `swap extent' is a simple thing which maps a contiguous range of pages