diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-01 04:37:34 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-09 17:41:14 +0200 |
commit | c51da20c48b76ef1114d14b6b6ff190e11afab0e (patch) | |
tree | 621f945c5d2a1279c7cbf8e5dcc21f00cfc9a12d /fs/efs | |
parent | lustre: don't need to lock inode in directory lseek (diff) | |
download | linux-c51da20c48b76ef1114d14b6b6ff190e11afab0e.tar.xz linux-c51da20c48b76ef1114d14b6b6ff190e11afab0e.zip |
more trivial ->iterate_shared conversions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/efs')
-rw-r--r-- | fs/efs/dir.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/efs/dir.c b/fs/efs/dir.c index ce63b24f7c3e..a7be96e5f1cb 100644 --- a/fs/efs/dir.c +++ b/fs/efs/dir.c @@ -12,7 +12,7 @@ static int efs_readdir(struct file *, struct dir_context *); const struct file_operations efs_dir_operations = { .llseek = generic_file_llseek, .read = generic_read_dir, - .iterate = efs_readdir, + .iterate_shared = efs_readdir, }; const struct inode_operations efs_dir_inode_operations = { @@ -100,4 +100,3 @@ static int efs_readdir(struct file *file, struct dir_context *ctx) ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot; return 0; } - |