btrfs: switch to ->iterate_shared()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 May 2016 20:24:53 +0000 (16:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 May 2016 15:42:19 +0000 (11:42 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/inode.c

index 2aaba58b4856be3fc6b179ad3e2d0e94e559dc04..3e2ada1267f34d582a5411120e147db5a16eff3f 100644 (file)
@@ -10181,7 +10181,7 @@ static const struct inode_operations btrfs_dir_ro_inode_operations = {
 static const struct file_operations btrfs_dir_file_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = btrfs_real_readdir,
+       .iterate_shared = btrfs_real_readdir,
        .unlocked_ioctl = btrfs_ioctl,
 #ifdef CONFIG_COMPAT
        .compat_ioctl   = btrfs_ioctl,