Skip to content

Commit

Permalink
vfs: delete vfs_readdir function declaration
Browse files Browse the repository at this point in the history
vfs_readdir() was replaced by iterate_dir() in commit 5c0ba4e
("[readdir] introduce iterate_dir() and dir_context").

Signed-off-by: Zhang Zhen <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Zhang Zhen authored and torvalds committed Apr 15, 2015
1 parent 6c373ca commit f2b91d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2684,7 +2684,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 *);
Expand Down

0 comments on commit f2b91d8

Please sign in to comment.