Return-Path: 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 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 --- 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); -- 2.7.4