From: Derrick Brashear Date: Wed, 23 Jan 2002 00:44:59 +0000 (+0000) Subject: STABLE12-linux-use-results-of-all-inode-configure-tests-20020122 X-Git-Tag: openafs-stable-1_2_3~21 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0df23afd71e18cc790612a6016a75a502c90091b;p=packages%2Fo%2Fopenafs.git STABLE12-linux-use-results-of-all-inode-configure-tests-20020122 we tested for and then failed to use things before (cherry picked from commit 8a906250f7220efd9210741f97d1b3fa568d74d4) --- diff --git a/acconfig.h b/acconfig.h index ece70bd0e..f2d087917 100644 --- a/acconfig.h +++ b/acconfig.h @@ -31,6 +31,8 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #undef INODE_SETATTR_NOT_VOID #undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK #undef STRUCT_INODE_HAS_I_TRUNCATE_SEM +#undef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS +#undef STRUCT_INODE_HAS_I_DEVICES /* glue for RedHat kernel bug */ #undef ENABLE_REDHAT_BUILDSYS diff --git a/acinclude.m4 b/acinclude.m4 index 7d985f7a6..8e31a6c07 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -140,6 +140,12 @@ case $system in if test "x$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" = "xyes"; then AC_DEFINE(STRUCT_INODE_HAS_I_TRUNCATE_SEM) fi + if test "x$ac_cv_linux_fs_struct_inode_has_i_devices" = "xyes"; then + AC_DEFINE(STRUCT_INODE_HAS_I_DEVICES) + fi + if test "x$ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers" = "xyes"; then + AC_DEFINE(STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS) + fi : fi ;;