From 40b6113ae4a9db9a909b1b49db8a02b2dc267ef6 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Mon, 28 Oct 2013 08:15:46 -0400 Subject: [PATCH] LU-2800 autoconf: remove LC_HAVE_QUOTAIO_H 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 Signed-off-by: James Simmons Change-Id: I4e8c4be20548cd546c5787deb8a75f36ea4f1c9f Reviewed-on: http://review.whamcloud.com/5371 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Bob Glossman Reviewed-by: Andreas Dilger --- lustre/autoconf/lustre-core.m4 | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 76dcd98..1cccf82 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -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 @@ -1281,9 +1261,6 @@ AC_DEFUN([LC_PROG_LINUX], # 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 -- 1.8.3.1