Commit 7d674b31 authored by Al Viro's avatar Al Viro

hpfs: switch to ->iterate_shared()

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e82c3147
...@@ -330,7 +330,7 @@ const struct file_operations hpfs_dir_ops = ...@@ -330,7 +330,7 @@ const struct file_operations hpfs_dir_ops =
{ {
.llseek = hpfs_dir_lseek, .llseek = hpfs_dir_lseek,
.read = generic_read_dir, .read = generic_read_dir,
.iterate = hpfs_readdir, .iterate_shared = hpfs_readdir,
.release = hpfs_dir_release, .release = hpfs_dir_release,
.fsync = hpfs_file_fsync, .fsync = hpfs_file_fsync,
.unlocked_ioctl = hpfs_ioctl, .unlocked_ioctl = hpfs_ioctl,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment