From e6e36748d197a54dba3f3b43fcbda88ee9e5a1d7 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Mon, 28 Oct 2013 07:56:02 -0400 Subject: [PATCH] LU-2800 autoconf: remove LC_PROCFS_DELETED The procfs deleted member in the procfs entry struct has been removed since kernel version 2.6.27. We can removed this test since it is no longer needed. Signed-off-by: James Simmons Change-Id: I1dbf8cabfa85d31ea5f1386710dfcb7012946b91 Reviewed-on: http://review.whamcloud.com/5374 Reviewed-by: Bob Glossman Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo --- 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 dbe3f2a..76dcd98 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -374,28 +374,6 @@ LB_LINUX_TRY_COMPILE([ ]) ]) -# 2.6.24 removes long aged procfs entry -> deleted member -AC_DEFUN([LC_PROCFS_DELETED], -[AC_MSG_CHECKING([if kernel has deleted member in procfs entry struct]) -LB_LINUX_TRY_COMPILE([ - #include -],[ - struct proc_dir_entry pde; - - pde.deleted = sizeof(pde); -], [ - AC_MSG_RESULT([yes]) - AC_DEFINE(HAVE_PROCFS_DELETED, 1, - [kernel has deleted member in procfs entry struct]) -],[ - AC_MSG_RESULT([no]) -]) -]) - -# -# 2.6.27 -# - # up to v2.6.27 had a 3 arg version (inode, mask, nameidata) # v2.6.27->v2.6.37 had a 2 arg version (inode, mask) # v2.6.37->v3.0 had a 3 arg version (inode, mask, nameidata) @@ -1302,7 +1280,6 @@ AC_DEFUN([LC_PROG_LINUX], # 2.6.24 LC_BIO_ENDIO_2ARG - LC_PROCFS_DELETED # 2.6.27.15-2 sles11 LC_HAVE_QUOTAIO_H -- 1.8.3.1