afs: switch to ->iterate_shared()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 May 2016 18:27:44 +0000 (14:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 May 2016 18:27:44 +0000 (14:27 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/afs/dir.c

index cdf8fbb..eba5410 100644 (file)
@@ -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,
 };