diff --git a/fs/afs/dir.c b/fs/afs/dir.c index cdf8fbbc0b57e3d799dea3c11f04efac69874ecd..eba541004d90ff0f4566ca2fade3a4c2aa8a4cc2 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c @@ -43,7 +43,7 @@ static int afs_rename(struct inode *old_dir, struct dentry *old_dentry, const struct file_operations afs_dir_file_operations = { .open = afs_dir_open, .release = afs_release, - .iterate = afs_readdir, + .iterate_shared = afs_readdir, .lock = afs_lock, .llseek = generic_file_llseek, };