mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 16:48:26 +02:00 
			
		
		
		
	btrfs: use GFP_KERNEL in btrfs_alloc_inode
This callback is called directly from VFS, no locks are held at the allocation time. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
		
							parent
							
								
									f08dc36f78
								
							
						
					
					
						commit
						712e36c5f2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -9430,7 +9430,7 @@ struct inode *btrfs_alloc_inode(struct super_block *sb) | |||
| 	struct btrfs_inode *ei; | ||||
| 	struct inode *inode; | ||||
| 
 | ||||
| 	ei = kmem_cache_alloc(btrfs_inode_cachep, GFP_NOFS); | ||||
| 	ei = kmem_cache_alloc(btrfs_inode_cachep, GFP_KERNEL); | ||||
| 	if (!ei) | ||||
| 		return NULL; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 David Sterba
						David Sterba