From 6a0ef276b1ee79405622281b2fe3c519a24eed0b Mon Sep 17 00:00:00 2001 From: pjkirner Date: Thu, 21 Jul 2005 12:46:39 +0000 Subject: [PATCH] r=adilger b=7000 Patch to 2.4 kernel patches in #if'ed out code by default. See bug 7000 for all the details. --- lustre/kernel_patches/patches/sd_iostats-2.4.21-chaos.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/kernel_patches/patches/sd_iostats-2.4.21-chaos.patch b/lustre/kernel_patches/patches/sd_iostats-2.4.21-chaos.patch index c8d2598..ad63bb4 100644 --- a/lustre/kernel_patches/patches/sd_iostats-2.4.21-chaos.patch +++ b/lustre/kernel_patches/patches/sd_iostats-2.4.21-chaos.patch @@ -74,7 +74,7 @@ diff -u -p -r1.1.1.1 sd.c +static inline void sd_iostats_init(void) {} +static inline void sd_iostats_init_disk(int disk) {} +static inline void sd_iostats_fini(void) {} -+static inline void sd_iostats_bump(kdev_t dev, unsigned int nsect, int iswrite) {} ++static inline void sd_iostats_bump(int dev, unsigned int nsect, int iswrite) {} +#endif + /* device number --> sd_gendisks index */ -- 1.8.3.1