From patchwork Wed Nov 8 19:01:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josef Bacik X-Patchwork-Id: 10048999 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 466D06032D for ; Wed, 8 Nov 2017 19:01:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 392D02978B for ; Wed, 8 Nov 2017 19:01:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E00329852; Wed, 8 Nov 2017 19:01:15 +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.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 C915F29840 for ; Wed, 8 Nov 2017 19:01:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752127AbdKHTBN (ORCPT ); Wed, 8 Nov 2017 14:01:13 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:45538 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389AbdKHTBJ (ORCPT ); Wed, 8 Nov 2017 14:01:09 -0500 Received: by mail-qt0-f193.google.com with SMTP id q33so230208qta.2 for ; Wed, 08 Nov 2017 11:01:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EwvV8k7qkFlbAvI+bNDvyTa2snzGXFEWIkvjtEzv9tk=; b=OXiJytOLkaN1JeNYyaXrHxpXU5gyrVA89Tev+QIqP95qG00jSAK/jVZh50MtLud/Ls WZxLhpbtROQ//aEOXuXNhticUzfeiknlRFioMcB7jfgxr7hqjz0n0y4wMDLOQ2y/u3Io 2lUtPntkpGQxjKmfFRlzI0GQNOl0E9o5Jjvr/9ncc26I8yuzAjI9zArt3RBnPjgDkHzr XAZKtMMOX3OsNFTFOwn3iQ8fGRKPmiXrTL7xrZ0ggHY90iMQ6LlqeLZRe+Pioan26nAE Fr460QIsKUct/0RcU/YZi3kUxMcbiBlbhHbgBLyS+rYpaJ9JtMGDwgfCWT7okyMYO5CW gp3A== 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=EwvV8k7qkFlbAvI+bNDvyTa2snzGXFEWIkvjtEzv9tk=; b=SHXRYq9DDeBGWlfKF1T8933mtMzEuDBizPGyNL2/MISvrTwEMAwJ9Sb+4Ps41CjWNx VQ21CvwD9ax0k3WbAvDAsAPNuvpKxGvrw+PeMCDQplcKJAswuDxb0wYMrjDi49bdsrmn RnW2RM+ad71qkYSiYeQl7pk/1IOMTtTHLaXTprWctABwG0CQPleIatlqFCpAofZGK3kR HfqUJEtbVJIN0+3BmMOWcnCHAqMsrv86MrOPXzW6/BdCglPcK5lVK3qfOfDLBkjsfcVE e+z3xA5ur2dwPvyn953+iguWWTOS2h8k+FO2+EwwiUqJS510f6zmrEUG6Pn99amRMfcL EkdA== X-Gm-Message-State: AJaThX607G9OV5d9r6wOtPlgmx6xFUSGG8df+BCsChDLIZhvm7e4q4eU x/j+lwmFFd8g9OcBQVMcKKgNaA== X-Google-Smtp-Source: ABhQp+QdJLWtnKDqPyJBJVCJ5njvNCPOk2YeQXKEX5Aq+gudJYR1b/p7+T2ROQKdeXQ0c1ephYkkRg== X-Received: by 10.237.59.25 with SMTP id p25mr2616687qte.304.1510167668368; Wed, 08 Nov 2017 11:01:08 -0800 (PST) Received: from localhost (cpe-2606-A000-4381-1201-225-22FF-FEB3-E51A.dyn6.twc.com. [2606:a000:4381:1201:225:22ff:feb3:e51a]) by smtp.gmail.com with ESMTPSA id m50sm3283826qtm.31.2017.11.08.11.01.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Nov 2017 11:01:07 -0800 (PST) From: Josef Bacik To: hannes@cmpxchg.org, linux-mm@kvack.org, akpm@linux-foundation.org, jack@suse.cz, linux-fsdevel@vger.kernel.org Cc: Josef Bacik Subject: [PATCH 4/4] export radix_tree_iter_tag_set Date: Wed, 8 Nov 2017 14:01:00 -0500 Message-Id: <1510167660-26196-4-git-send-email-josef@toxicpanda.com> X-Mailer: git-send-email 2.7.5 In-Reply-To: <1510167660-26196-1-git-send-email-josef@toxicpanda.com> References: <1510167660-26196-1-git-send-email-josef@toxicpanda.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Josef Bacik We use this in btrfs for metadata writeback. Signed-off-by: Josef Bacik Acked-by: Matthew Wilcox --- lib/radix-tree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/radix-tree.c b/lib/radix-tree.c index 8b1feca1230a..0c1cde9fcb69 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c @@ -1459,6 +1459,7 @@ void radix_tree_iter_tag_set(struct radix_tree_root *root, { node_tag_set(root, iter->node, tag, iter_offset(iter)); } +EXPORT_SYMBOL(radix_tree_iter_tag_set); static void node_tag_clear(struct radix_tree_root *root, struct radix_tree_node *node,