hpfs: switch to ->iterate_shared()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 May 2016 23:44:04 +0000 (19:44 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 May 2016 23:47:13 +0000 (19:47 -0400)
NOTE: the only reason we can do that without ->i_rdir_offs races
is that hpfs_lock() serializes everything in there anyway.  It's
not that hard to get rid of, but not as part of this series...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hpfs/dir.c

index 77b92ff56ce283754ecbee107574304747755ba3..7b9150c2e75c4c4a2d9de1fc8c3d05637791bcf3 100644 (file)
@@ -330,7 +330,7 @@ const struct file_operations hpfs_dir_ops =
 {
        .llseek         = hpfs_dir_lseek,
        .read           = generic_read_dir,
-       .iterate        = hpfs_readdir,
+       .iterate_shared = hpfs_readdir,
        .release        = hpfs_dir_release,
        .fsync          = hpfs_file_fsync,
        .unlocked_ioctl = hpfs_ioctl,