f2fs: switch to ->iterate_shared()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 May 2016 20:41:13 +0000 (16:41 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 May 2016 20:41:13 +0000 (16:41 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/f2fs/dir.c

index af819571bce7130a887cbecef1241097fda63f9c..9e4615146d1319c575e33edfdc86d2ccce320fda 100644 (file)
@@ -902,7 +902,7 @@ static int f2fs_dir_open(struct inode *inode, struct file *filp)
 const struct file_operations f2fs_dir_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = f2fs_readdir,
+       .iterate_shared = f2fs_readdir,
        .fsync          = f2fs_sync_file,
        .open           = f2fs_dir_open,
        .unlocked_ioctl = f2fs_ioctl,