mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Linux 5.16 compat: linux/elevator.h
Commit https://github.com/torvalds/linux/commit/2e9bc346 moved the elevator.h header under the block/ directory as part of some refactoring. This turns out not to be a problem since there's no longer anything we need from the header. This has been the case for some time, this change removes the elevator.h include and replaces it with a major.h include. Reviewed-by: Alexander Lobakin <alobakin@pm.me> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #12725
This commit is contained in:
		
							parent
							
								
									586358102e
								
							
						
					
					
						commit
						b8b3b93ebb
					
				@ -30,9 +30,9 @@
 | 
			
		||||
#define	_ZFS_BLKDEV_H
 | 
			
		||||
 | 
			
		||||
#include <linux/blkdev.h>
 | 
			
		||||
#include <linux/elevator.h>
 | 
			
		||||
#include <linux/backing-dev.h>
 | 
			
		||||
#include <linux/hdreg.h>
 | 
			
		||||
#include <linux/major.h>
 | 
			
		||||
#include <linux/msdos_fs.h>	/* for SECTOR_* */
 | 
			
		||||
 | 
			
		||||
#ifndef HAVE_BLK_QUEUE_FLAG_SET
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user