From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhang Zhen Subject: [PATCH] vfs: delete vfs_readdir function declaration Date: Tue, 3 Mar 2015 11:05:06 +0800 Message-ID: <54F524E2.30004@huawei.com> References: <1425351692-35022-1-git-send-email-zhenzhang.zhang@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: , , Andrew Morton To: , Jan Kara Return-path: 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 In-Reply-To: <1425351692-35022-1-git-send-email-zhenzhang.zhang@huawei.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 *); -- 1.8.5.5 .