From patchwork Tue Mar 3 03:05:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ZhangZhen X-Patchwork-Id: 5918841 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3B0BFBF440 for ; Tue, 3 Mar 2015 03:12:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72883200E1 for ; Tue, 3 Mar 2015 03:12:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 670D8200C6 for ; Tue, 3 Mar 2015 03:12:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755125AbbCCDMh (ORCPT ); Mon, 2 Mar 2015 22:12:37 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:15569 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755097AbbCCDMf (ORCPT ); Mon, 2 Mar 2015 22:12:35 -0500 Received: from 172.24.2.119 (EHLO szxeml434-hub.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id BCN46001; Tue, 03 Mar 2015 11:05:17 +0800 (CST) Received: from [127.0.0.1] (10.111.68.57) by szxeml434-hub.china.huawei.com (10.82.67.225) with Microsoft SMTP Server id 14.3.158.1; Tue, 3 Mar 2015 11:05:08 +0800 Message-ID: <54F524E2.30004@huawei.com> Date: Tue, 3 Mar 2015 11:05:06 +0800 From: Zhang Zhen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: , Jan Kara CC: , , Andrew Morton Subject: [PATCH] vfs: delete vfs_readdir function declaration References: <1425351692-35022-1-git-send-email-zhenzhang.zhang@huawei.com> In-Reply-To: <1425351692-35022-1-git-send-email-zhenzhang.zhang@huawei.com> X-Forwarded-Message-Id: <1425351692-35022-1-git-send-email-zhenzhang.zhang@huawei.com> X-Originating-IP: [10.111.68.57] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020206.54F524ED.0147, ss=1, re=0.001, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 1580ef4c8e449914ff09ec60ae3e4267 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP vfs_readdir has been replaced by iterate_dir in commit (5c0ba4e:[readdir] introduce iterate_dir() and dir_context). Signed-off-by: Zhang Zhen --- include/linux/fs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index b4d71b5..81ee60c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2661,7 +2661,6 @@ void inode_sub_bytes(struct inode *inode, loff_t bytes); loff_t inode_get_bytes(struct inode *inode); void inode_set_bytes(struct inode *inode, loff_t bytes); -extern int vfs_readdir(struct file *, filldir_t, void *); extern int iterate_dir(struct file *, struct dir_context *); extern int vfs_stat(const char __user *, struct kstat *);