summaryrefslogtreecommitdiffstats
path: root/fs/romfs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-05-01 05:08:45 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-09 17:41:15 +0200
commitd375570fa83761161bb3d9120e0260dec66f051d (patch)
tree904beb3a81f07ed1cc87d1c0b41a36f1e1d579f4 /fs/romfs/super.c
parentmore trivial ->iterate_shared conversions (diff)
downloadlinux-d375570fa83761161bb3d9120e0260dec66f051d.tar.xz
linux-d375570fa83761161bb3d9120e0260dec66f051d.zip
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/romfs/super.c')
-rw-r--r--fs/romfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/romfs/super.c b/fs/romfs/super.c
index 6b00ca357c58..d0f8a38dfafa 100644
--- a/fs/romfs/super.c
+++ b/fs/romfs/super.c
@@ -280,8 +280,8 @@ error:
static const struct file_operations romfs_dir_operations = {
.read = generic_read_dir,
- .iterate = romfs_readdir,
- .llseek = default_llseek,
+ .iterate_shared = romfs_readdir,
+ .llseek = generic_file_llseek,
};
static const struct inode_operations romfs_dir_inode_operations = {