Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17E5BC43381 for ; Thu, 21 Feb 2019 08:00:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E05182086A for ; Thu, 21 Feb 2019 08:00:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726191AbfBUIAV (ORCPT ); Thu, 21 Feb 2019 03:00:21 -0500 Received: from mx2.suse.de ([195.135.220.15]:38234 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725831AbfBUIAP (ORCPT ); Thu, 21 Feb 2019 03:00:15 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 71B30ADE5 for ; Thu, 21 Feb 2019 08:00:14 +0000 (UTC) From: Qu Wenruo To: linux-fsdevel@vger.kernel.org Subject: [PATCH] writeback.h: Removed duplicated declaration of tag_pages_for_writeback() Date: Thu, 21 Feb 2019 16:00:09 +0800 Message-Id: <20190221080009.22926-1-wqu@suse.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org There are two commits introducing the same declaration, 92c09c041f15 ("mm: declare some external symbols") and 5b41d92437f1 ("ext4: implement writeback livelock avoidance using page tagging"), they are all introducing declaration for tag_pages_for_writeback(), just lines apart. One declaration is enough. Signed-off-by: Qu Wenruo --- include/linux/writeback.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 738a0c24874f..e926fa256c43 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h @@ -371,8 +371,6 @@ int write_cache_pages(struct address_space *mapping, void *data); int do_writepages(struct address_space *mapping, struct writeback_control *wbc); void writeback_set_ratelimit(void); -void tag_pages_for_writeback(struct address_space *mapping, - pgoff_t start, pgoff_t end); void account_page_redirty(struct page *page); -- 2.20.1