dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/md_u-Remove-some-unused-ioctl-declarations.patch

2c1b57
From b0ba6a1dee995b3cd7331b4df92d115e51d8ac0c Mon Sep 17 00:00:00 2001
2c1b57
From: Jes Sorensen <Jes.Sorensen@gmail.com>
2c1b57
Date: Wed, 29 Mar 2017 15:48:24 -0400
2c1b57
Subject: [RHEL7.5 PATCH 041/169] md_u: Remove some unused ioctl
2c1b57
 declarations
2c1b57
2c1b57
These were no longer used in the code, so get rid of them.
2c1b57
2c1b57
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
2c1b57
---
2c1b57
 md_u.h | 6 ------
2c1b57
 1 file changed, 6 deletions(-)
2c1b57
2c1b57
diff --git a/md_u.h b/md_u.h
2c1b57
index f570a34..d59aa2d 100644
2c1b57
--- a/md_u.h
2c1b57
+++ b/md_u.h
2c1b57
@@ -21,19 +21,13 @@
2c1b57
 #define RAID_VERSION		_IOR (MD_MAJOR, 0x10, mdu_version_t)
2c1b57
 #define GET_ARRAY_INFO		_IOR (MD_MAJOR, 0x11, mdu_array_info_t)
2c1b57
 #define GET_DISK_INFO		_IOR (MD_MAJOR, 0x12, mdu_disk_info_t)
2c1b57
-#define PRINT_RAID_DEBUG	_IO (MD_MAJOR, 0x13)
2c1b57
 #define RAID_AUTORUN		_IO (MD_MAJOR, 0x14)
2c1b57
 #define GET_BITMAP_FILE		_IOR (MD_MAJOR, 0x15, mdu_bitmap_file_t)
2c1b57
 
2c1b57
 /* configuration */
2c1b57
-#define CLEAR_ARRAY		_IO (MD_MAJOR, 0x20)
2c1b57
 #define ADD_NEW_DISK		_IOW (MD_MAJOR, 0x21, mdu_disk_info_t)
2c1b57
 #define HOT_REMOVE_DISK		_IO (MD_MAJOR, 0x22)
2c1b57
 #define SET_ARRAY_INFO		_IOW (MD_MAJOR, 0x23, mdu_array_info_t)
2c1b57
-#define SET_DISK_INFO		_IO (MD_MAJOR, 0x24)
2c1b57
-#define WRITE_RAID_INFO		_IO (MD_MAJOR, 0x25)
2c1b57
-#define UNPROTECT_ARRAY		_IO (MD_MAJOR, 0x26)
2c1b57
-#define PROTECT_ARRAY		_IO (MD_MAJOR, 0x27)
2c1b57
 #define HOT_ADD_DISK		_IO (MD_MAJOR, 0x28)
2c1b57
 #define SET_DISK_FAULTY		_IO (MD_MAJOR, 0x29)
2c1b57
 #define SET_BITMAP_FILE		_IOW (MD_MAJOR, 0x2b, int)
2c1b57
-- 
2c1b57
2.7.4
2c1b57