瀏覽代碼

switch ecryptfs to ->iterate_shared

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 9 年之前
父節點
當前提交
51a16a9cd5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 #endif
 
 
 const struct file_operations ecryptfs_dir_fops = {
 const struct file_operations ecryptfs_dir_fops = {
-	.iterate = ecryptfs_readdir,
+	.iterate_shared = ecryptfs_readdir,
 	.read = generic_read_dir,
 	.read = generic_read_dir,
 	.unlocked_ioctl = ecryptfs_unlocked_ioctl,
 	.unlocked_ioctl = ecryptfs_unlocked_ioctl,
 #ifdef CONFIG_COMPAT
 #ifdef CONFIG_COMPAT