switch ecryptfs to ->iterate_shared
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 May 2016 20:21:20 +0000 (16:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 May 2016 15:42:18 +0000 (11:42 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/file.c

index f024040..7000b96 100644 (file)
@@ -383,7 +383,7 @@ ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 #endif
 
 const struct file_operations ecryptfs_dir_fops = {
-       .iterate = ecryptfs_readdir,
+       .iterate_shared = ecryptfs_readdir,
        .read = generic_read_dir,
        .unlocked_ioctl = ecryptfs_unlocked_ioctl,
 #ifdef CONFIG_COMPAT