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 f02404052b7b66c73809f8bc33c93f07acab4a9b..7000b96b783ef04a56f056a83df595c8093533aa 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