diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-12 19:44:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-12 19:47:13 -0400 |
commit | 7d674b3195b854eec26724b8e85c97da79cdcf9d (patch) | |
tree | cbee3eeed3041133a542d199a8a7ce98ae7b3d65 /fs/hpfs | |
parent | e82c3147554785414a10a2d424590758646972b2 (diff) | |
download | linux-7d674b3195b854eec26724b8e85c97da79cdcf9d.tar.gz linux-7d674b3195b854eec26724b8e85c97da79cdcf9d.tar.bz2 linux-7d674b3195b854eec26724b8e85c97da79cdcf9d.zip |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs')
-rw-r--r-- | fs/hpfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c index 77b92ff56ce2..7b9150c2e75c 100644 --- a/fs/hpfs/dir.c +++ b/fs/hpfs/dir.c @@ -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, |