Skip to contentSkip to conversation

Remove XFS 2.4 specific code

PATCH New David KOENIG 1 participant 1 message Oct 18, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove XFS 2.4 specific code

I'm kind of new to the game, so is this the type of thing I should be doing to remove old code?

---
 fs/xfs/xfs_dmapi.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
fs/xfs/xfs_dmapi.h +0 -7
index 4e7865a..8d370e9 100644
@@ -172,13 +172,6 @@ #define DM_SEM_FLAG_RD(ioflags) (((iofla
 #define DM_SEM_FLAG_WR	(DM_FLAGS_IALLOCSEM_WR | DM_FLAGS_IMUX)
 #endif
 
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,21)
-#define DM_SEM_FLAG_RD(ioflags) (((ioflags) & IO_ISDIRECT) ? \
-			      0 : DM_FLAGS_IMUX)
-#define DM_SEM_FLAG_WR	(DM_FLAGS_IMUX)
-#endif
-
-
 /*
  *	Macros to turn caller specified delay/block flags into
  *	dm_send_xxxx_event flag DM_FLAGS_NDELAY.
Signature · 6 lines
1.4.1

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors