9p: switch to ->iterate_shared()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 1 May 2016 04:08:03 +0000 (00:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 May 2016 15:41:16 +0000 (11:41 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/vfs_dir.c

index 5cc00e56206e339cb6077db514a6ac6a2bffcfd9..b0405d6aac854d4e3bb69b813f587775cbeeebe8 100644 (file)
@@ -246,7 +246,7 @@ int v9fs_dir_release(struct inode *inode, struct file *filp)
 const struct file_operations v9fs_dir_operations = {
        .read = generic_read_dir,
        .llseek = generic_file_llseek,
-       .iterate = v9fs_dir_readdir,
+       .iterate_shared = v9fs_dir_readdir,
        .open = v9fs_file_open,
        .release = v9fs_dir_release,
 };
@@ -254,7 +254,7 @@ const struct file_operations v9fs_dir_operations = {
 const struct file_operations v9fs_dir_operations_dotl = {
        .read = generic_read_dir,
        .llseek = generic_file_llseek,
-       .iterate = v9fs_dir_readdir_dotl,
+       .iterate_shared = v9fs_dir_readdir_dotl,
        .open = v9fs_file_open,
        .release = v9fs_dir_release,
         .fsync = v9fs_file_fsync_dotl,