Whamcloud - gitweb
LU-2800 autoconf: remove LC_HAVE_QUOTAIO_H 71/5371/5
authorJames Simmons <uja.ornl@gmail.com>
Mon, 28 Oct 2013 12:15:46 +0000 (08:15 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 14 Nov 2013 04:13:38 +0000 (04:13 +0000)
fs/quota/quotaio_v2.h has been in the upstream kernel since v2.6.30.
We can remove the test. The result is only used for another test
that will also be removed.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I4e8c4be20548cd546c5787deb8a75f36ea4f1c9f
Reviewed-on: http://review.whamcloud.com/5371
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/autoconf/lustre-core.m4

index 76dcd98..1cccf82 100644 (file)
@@ -432,26 +432,6 @@ LB_LINUX_TRY_COMPILE([
 ])
 ])
 
 ])
 ])
 
-#
-# 2.6.27 sles11 move the quotaio_v1{2}.h from include/linux to fs
-# 2.6.32 move the quotaio_v1{2}.h from fs to fs/quota
-AC_DEFUN([LC_HAVE_QUOTAIO_H],
-[LB_CHECK_FILE([$LINUX/include/linux/quotaio_v2.h],[
-        AC_DEFINE(HAVE_QUOTAIO_H, 1,
-                [kernel has include/linux/quotaio_v2.h])
-],[LB_CHECK_FILE([$LINUX/fs/quotaio_v2.h],[
-               AC_DEFINE(HAVE_FS_QUOTAIO_H, 1,
-                [kernel has fs/quotaio_v1.h])
-],[LB_CHECK_FILE([$LINUX/fs/quota/quotaio_v2.h],[
-               AC_DEFINE(HAVE_FS_QUOTA_QUOTAIO_H, 1,
-                [kernel has fs/quota/quotaio_v2.h])
-],[
-        AC_MSG_RESULT([no])
-])
-])
-])
-])
-
 # 2.6.32
 
 # 2.6.32 replaces 2 functions blk_queue_max_phys_segments and blk_queue_max_hw_segments by blk_queue_max_segments
 # 2.6.32
 
 # 2.6.32 replaces 2 functions blk_queue_max_phys_segments and blk_queue_max_hw_segments by blk_queue_max_segments
@@ -1281,9 +1261,6 @@ AC_DEFUN([LC_PROG_LINUX],
          # 2.6.24
          LC_BIO_ENDIO_2ARG
 
          # 2.6.24
          LC_BIO_ENDIO_2ARG
 
-         # 2.6.27.15-2 sles11
-         LC_HAVE_QUOTAIO_H
-
          # 2.6.32
          LC_BLK_QUEUE_MAX_SEGMENTS
 
          # 2.6.32
          LC_BLK_QUEUE_MAX_SEGMENTS