Whamcloud - gitweb
Branch b1_8_gate
authoryangsheng <yangsheng>
Tue, 11 Nov 2008 07:44:11 +0000 (07:44 +0000)
committeryangsheng <yangsheng>
Tue, 11 Nov 2008 07:44:11 +0000 (07:44 +0000)
b=17153
i=adilger, robert.read

Remove 2.4 check.
Author: tappro
CVSooi=<inspected_by>

lustre/mds/mds_open.c

index 261a311..ab01d74 100644 (file)
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0))
-# include <linux/buffer_head.h>
-# include <linux/workqueue.h>
-#else
-# include <linux/locks.h>
-#endif
+#include <linux/buffer_head.h>
+#include <linux/workqueue.h>
 
 #include <obd_class.h>
 #include <obd_lov.h>