Whamcloud - gitweb
LU-709 compat: remove all reference to LINUX_VERSION_CODE
authorPeng Tao <tao.peng@emc.com>
Mon, 23 Jul 2012 05:26:48 +0000 (13:26 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 23 Jul 2012 18:31:52 +0000 (14:31 -0400)
commitef5ada7eaf93f50f4df4b1eb837dd99822acb147
treef757b29b8909521ec454f14299a3cf34398c2d22
parent64a677269f5262702bd0e9c9de7378bd5b256bd0
LU-709 compat: remove all reference to LINUX_VERSION_CODE

All LINUX_VERSION_CODE refereces are used to note kernel version older
than 2.6.18. So we can drop them all.

Affected variables are inlined as much as possible to minimize compat
code definition.

Signed-off-by: Peng Tao <tao.peng@emc.com>
Change-Id: If3b94ceb5e21db8f96b11526399e9cd8f174fd6f
Reviewed-on: http://review.whamcloud.com/3442
Tested-by: Hudson
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Prakash Surya <surya1@llnl.gov>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
13 files changed:
libcfs/include/libcfs/darwin/darwin-prim.h
libcfs/include/libcfs/winnt/winnt-prim.h
libcfs/libcfs/linux/linux-tcpip.c
lnet/klnds/socklnd/socklnd_lib-linux.c
lustre/include/liblustre.h
lustre/include/linux/lustre_compat25.h
lustre/include/linux/obd.h
lustre/include/obd.h
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/llite/vvp_dev.c
lustre/lvfs/fsfilt_ext3.c
lustre/obdclass/obd_mount.c