Browse Source

switch ecryptfs to ->iterate_shared

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 9 năm trước cách đây
mục cha
commit
51a16a9cd5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fs/ecryptfs/file.c

+ 1 - 1
fs/ecryptfs/file.c

@@ -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