mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 16:48:26 +02:00 
			
		
		
		
	Revert "btrfs: switch to ->iterate_shared()"
This reverts commit 972b241f84.
Quoth Chris:
	didn't take the delayed inode stuff into account
	it got an rbtree of items and it pulls things out
	so in shared mode, its hugely racey
	sorry, lets revert and fix it for real inside of btrfs
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
			
			
This commit is contained in:
		
							parent
							
								
									ae05327a00
								
							
						
					
					
						commit
						fe742fd4f9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -10181,7 +10181,7 @@ static const struct inode_operations btrfs_dir_ro_inode_operations = { | |||
| static const struct file_operations btrfs_dir_file_operations = { | ||||
| 	.llseek		= generic_file_llseek, | ||||
| 	.read		= generic_read_dir, | ||||
| 	.iterate_shared	= btrfs_real_readdir, | ||||
| 	.iterate	= btrfs_real_readdir, | ||||
| 	.unlocked_ioctl	= btrfs_ioctl, | ||||
| #ifdef CONFIG_COMPAT | ||||
| 	.compat_ioctl	= btrfs_ioctl, | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Al Viro
						Al Viro