From patchwork Thu Feb 21 08:00:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qu Wenruo X-Patchwork-Id: 10823265 Return-Path: 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 6347A13A4 for ; Thu, 21 Feb 2019 08:00:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55AD92F3D0 for ; Thu, 21 Feb 2019 08:00:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5424A2F521; Thu, 21 Feb 2019 08:00:22 +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,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 0D04B2F3D0 for ; Thu, 21 Feb 2019 08:00:22 +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 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 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 Reviewed-by: Nikolay Borisov --- 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);