hostfs: switch to ->iterate_shared()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 May 2016 23:49:30 +0000 (19:49 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 May 2016 23:49:30 +0000 (19:49 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hostfs/hostfs_kern.c

index 7016653f3e417c20d488a1ee255077d0dd670631..5c57654927a6185cb1601bd5c52d5ba4c0475291 100644 (file)
@@ -398,7 +398,7 @@ static const struct file_operations hostfs_file_fops = {
 
 static const struct file_operations hostfs_dir_fops = {
        .llseek         = generic_file_llseek,
-       .iterate        = hostfs_readdir,
+       .iterate_shared = hostfs_readdir,
        .read           = generic_read_dir,
        .open           = hostfs_open,
        .fsync          = hostfs_fsync,