diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-01 06:08:45 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-09 18:41:15 +0300 |
commit | d375570fa83761161bb3d9120e0260dec66f051d (patch) | |
tree | 904beb3a81f07ed1cc87d1c0b41a36f1e1d579f4 /fs/squashfs | |
parent | c51da20c48b76ef1114d14b6b6ff190e11afab0e (diff) | |
download | linux-d375570fa83761161bb3d9120e0260dec66f051d.tar.xz |
romfs, squashfs: switch to ->iterate_shared()
don't need to lock directory in ->llseek(), either
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/squashfs')
-rw-r--r-- | fs/squashfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/squashfs/dir.c b/fs/squashfs/dir.c index d8c2d747be28..a5845f94a2a1 100644 --- a/fs/squashfs/dir.c +++ b/fs/squashfs/dir.c @@ -231,6 +231,6 @@ failed_read: const struct file_operations squashfs_dir_ops = { .read = generic_read_dir, - .iterate = squashfs_readdir, - .llseek = default_llseek, + .iterate_shared = squashfs_readdir, + .llseek = generic_file_llseek, }; |