From patchwork Sat Jun 9 13:18:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Averin X-Patchwork-Id: 10455759 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 A498B601F7 for ; Sat, 9 Jun 2018 13:18:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 954B0206AC for ; Sat, 9 Jun 2018 13:18:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 897C2223A7; Sat, 9 Jun 2018 13:18:27 +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, 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 A309E206AC for ; Sat, 9 Jun 2018 13:18:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753243AbeFINSZ (ORCPT ); Sat, 9 Jun 2018 09:18:25 -0400 Received: from mail-db5eur01on0114.outbound.protection.outlook.com ([104.47.2.114]:45125 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753175AbeFINSY (ORCPT ); Sat, 9 Jun 2018 09:18:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KkgEJH8COP3FGPnljRVdfR9JxRDEClNhqfRJEbvxRH4=; b=WK4E9wkoT5cLPcpYMuv3KkFcZxWFCJMMwtZR5pd8qGODvtDILCr0jOiI7Mvc/0sLhuH+sNGyrabw/oUOwzWdBKwerWmha98LMzVSsGqT2a7nKfOQpGUm37YP9TWscHFxFJM1ZppbuuQbJDwWEkWD6TvOun/wqq5IEcCQeueomSM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=vvs@virtuozzo.com; Received: from [172.16.24.21] (195.214.232.6) by AM3PR08MB0593.eurprd08.prod.outlook.com (2a01:111:e400:c408::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.15; Sat, 9 Jun 2018 13:18:20 +0000 From: Vasily Averin Subject: [PATCH] removed extra extern file_fdatawait_range To: Alexander Viro Cc: linux-fsdevel@vger.kernel.org, Jeff Layton Message-ID: <6524c785-163b-e416-a587-37f5ad31cdb8@virtuozzo.com> Date: Sat, 9 Jun 2018 16:18:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Language: en-US X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: HE1PR05CA0325.eurprd05.prod.outlook.com (2603:10a6:7:92::20) To AM3PR08MB0593.eurprd08.prod.outlook.com (2a01:111:e400:c408::15) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM3PR08MB0593; X-Microsoft-Exchange-Diagnostics: 1; AM3PR08MB0593; 3:L+6TN3xn0++Uvc393wRjjlZ4AwRslkwiXNOrBBDllFvg6IRLkrFejTrSvmi5XQVrpgxwKBCzFPxWJNmZATk2CEy59XdbtmvSUcVjVz1l2zcL/H4Mv+zx9Vb7XpkFG+CXMKdpov8B2mfbnQ1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IPny6/fflkwpsT+Ezd0ezi0Rj/2Ba/qV/KKcyFBbODxs7MpO/dssFPZC4SjjbHfRyb9EqR1eVqiW+GXtc++DvkixlnEAVzedDwQjS69mqzpCGW4RmmGvJo17OuzWRs5+rSUo0a5xcyajRaJ2wuxJtaLzVe9kaRz43fq4Zeuf4m9RcNM9o7BvJfcB1KbXdxu6ujK5qSsFV3Udr3tGFV36ixQ; 4:nE354bBiuH0RLi3448CIuSJRRUDc8ISoL64sWOBvIiStpZD40m/6eBXAabUQJvwH166/TPusJ9b5RxClhX546n7Fl/r57/1SL+OHESU5nRYWbJp/uILJIAVOCCyYZO0at5Qn3pJg4rSW1QjpkmYjEdaedeIpmWR0EOu43Ft1W8QXyu0c7Sdc516ogHftmhRVi+6jbb4LBHu0Udh6j1Q9JD1KTGTi9L7o0/l9Wr0T9ML73W97WGU88g9q0qmka84V4pEXhaoEZyzAoxqdJyxblw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:AM3PR08MB0593; BCL:0; PCL:0; RULEID:; SRVR:AM3PR08MB0593; X-Forefront-PRVS: 06989017E3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(396003)(39380400002)(39850400004)(346002)(376002)(366004)(189003)(199004)(386003)(55236004)(7736002)(86362001)(486006)(8936002)(5660300001)(106356001)(68736007)(305945005)(2906002)(956004)(8676002)(81166006)(81156014)(65806001)(2616005)(6486002)(65956001)(65826007)(97736004)(31696002)(66066001)(47776003)(476003)(52116002)(64126003)(4326008)(77096007)(316002)(26005)(25786009)(478600001)(186003)(16526019)(6666003)(50466002)(230700001)(6916009)(52146003)(23676004)(2486003)(36756003)(3846002)(6116002)(105586002)(16576012)(31686004)(58126008)(53936002)(1857600001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM3PR08MB0593; H:[172.16.24.21]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTNQUjA4TUIwNTkzOzIzOnZXYmtxOTBmWENPRXdHaGpEMGRsUlFlNkZQ?= =?utf-8?B?NmVHYzdqdFVwNkJVbHo3NmhxWDlydDU4KzdOdUp0Nm9QT3RKUks1UENocjVM?= =?utf-8?B?cUZXWWlNaTBFRlZqY29tOWhDeklodDdhbkpkWStJbk9ZN1Q0a1dzYTNjQStx?= =?utf-8?B?Umw4dXNxUXpoU0pHMm0xSUpETnNFc2Y3KzVnclUxK0hKRDRmTXZ3NUgvYnFR?= =?utf-8?B?MTJiQVl0WU1PZzJzc3BDT045QUtvOXR6aTdOby9LTjhLRnp5ejRIWk5qRDFS?= =?utf-8?B?R0RhenpVVENwcEJXZ3YxMXd5R3h6YzVzWTBNaVhHQmhBOHNseE9DK1FYL3po?= =?utf-8?B?Q1d5YXFNL1VWTFdpWmRyeVlXUkUxdkwweWozNUFqZHA5TXlnWG52YXlOaTFZ?= =?utf-8?B?WThkRnE2Y1VTMG9IQXNHOERraHBOSzVpMnJGNnZHdEJ1dFFzQUtDKzJKSzlj?= =?utf-8?B?MEtLdnlRT1I0d1RTY0M5QXBhVE9XQWQrMDJPRnl3ZGd6cHBsRkJLUHcvdUxn?= =?utf-8?B?ZmtLNnRybUZQQWluVUdmYklTTUxmclFPR3BWeDhTdmhuKzVRclNjRVFLdmVP?= =?utf-8?B?a3ZTOXd2NERpVUN3UUdlNkJxSE1vY1E4dHRDZXRaM2lIS2liRWxXQ1FkMEJB?= =?utf-8?B?WWUzbkw4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pmt3LXAZ/gIsKy6tN8eM7ig==; 5:p6sQw4ZBzadZSydI4LbmOgVAYhfjWtlweuNFjJcEdqhsuhCCcPJHT64NMzO/GbbZB7PlMWh3y5pKEWMM33bF7D+Y7P1tDr6IJWxUMsFoRHPqYgU+CP0f6cCBjvvr3l/oooqiy9LIubwSuxi1S7UHD5668dIifHjLcwytp1NFMtw=; 24:JcCBJOgE0hYNUqs9OLO7Aj8frbngLkjEeLxmNtWX5Pz5nPSrcsmnvMdeKL11BG/J63NgMQFqjvZgniRimK6Z5udNRsen37e8wjRNv4ScpLQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR08MB0593; 7:0il6Sh3ucm/NNMM9dVpnRPUrs8FWbLs1PSuUM/Hr2TI9riSVIXSgn8mDHzFYCHFjWnsgiiMXeslZFGN2NmHkLb6VOMIIen9wW8OzaSjluw/jyNoZPJnANgGUDknwslqltrUUPrkKg2r4eCgQ1XmNtYEUPaJDDPwNcYXApVHi1NckX/xg9S33kz2ZBNNElFy7lmoPCSeQmg0MTEybdK5GgIE1bwVA7frVulG+1u/zoRdMqLSYTqWQ5H3V2uyCduHi; 20:XB/oLhQ86Nh0y2qQhZUDtqQ2gZsPwdcGw+rJIeas+NK4Fvw+og0M/tdkWIYlgB9CTLZGEBFz+AQS+HSDv50jD7JrzPnmIkn80G/zaXXB7SAf17dkp06H3fcGou95d0BHaDoe3TDtV+2IOiLg2FYQokfBEw8N8EyPg0U/raM5/Y8= X-MS-Office365-Filtering-Correlation-Id: 9d45f846-2a2b-4887-d7b1-08d5ce0b78f3 X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2018 13:18:20.8948 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9d45f846-2a2b-4887-d7b1-08d5ce0b78f3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR08MB0593 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 Jeff added this extern twice in commit a823e4589e68 Fixes: a823e4589e68 ("mm: add file_fdatawait_range and file_write_and_wait") Signed-off-by: Vasily Averin Reviewed-by: Jeff Layton --- include/linux/fs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index 760d8da..2e98d80 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2602,8 +2602,6 @@ static inline int filemap_fdatawait(struct address_space *mapping) extern bool filemap_range_has_page(struct address_space *, loff_t lstart, loff_t lend); -extern int __must_check file_fdatawait_range(struct file *file, loff_t lstart, - loff_t lend); extern int filemap_write_and_wait(struct address_space *mapping); extern int filemap_write_and_wait_range(struct address_space *mapping, loff_t lstart, loff_t lend);