mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
linux-configure-check-for-more-inode-struct-members-20010910
for redhat enterprise kernel
This commit is contained in:
parent
ad8f6909ee
commit
6b113587ca
@ -34,6 +34,7 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
|
|||||||
#undef STRUCT_INODE_HAS_I_TRUNCATE_SEM
|
#undef STRUCT_INODE_HAS_I_TRUNCATE_SEM
|
||||||
#undef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
|
#undef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
|
||||||
#undef STRUCT_INODE_HAS_I_MAPPING_OVERLOAD
|
#undef STRUCT_INODE_HAS_I_MAPPING_OVERLOAD
|
||||||
|
#undef STRUCT_INODE_HAS_I_MMAP_SHARED
|
||||||
#undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
|
#undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
|
||||||
|
|
||||||
/* glue for RedHat kernel bug */
|
/* glue for RedHat kernel bug */
|
||||||
|
@ -118,6 +118,7 @@ case $system in
|
|||||||
LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM
|
LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM
|
||||||
LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
|
LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
|
||||||
LINUX_FS_STRUCT_INODE_HAS_I_MAPPING_OVERLOAD
|
LINUX_FS_STRUCT_INODE_HAS_I_MAPPING_OVERLOAD
|
||||||
|
LINUX_FS_STRUCT_INODE_HAS_I_MMAP_SHARED
|
||||||
LINUX_INODE_SETATTR_RETURN_TYPE
|
LINUX_INODE_SETATTR_RETURN_TYPE
|
||||||
LINUX_NEED_RHCONFIG
|
LINUX_NEED_RHCONFIG
|
||||||
LINUX_WHICH_MODULES
|
LINUX_WHICH_MODULES
|
||||||
@ -127,6 +128,9 @@ case $system in
|
|||||||
if test "x$ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers" = "xyes"; then
|
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)
|
AC_DEFINE(STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS)
|
||||||
fi
|
fi
|
||||||
|
if test "x$ac_cv_linux_fs_struct_inode_has_i_mmap_shared" = "xyes"; then
|
||||||
|
AC_DEFINE(STRUCT_INODE_HAS_I_MMAP_SHARED)
|
||||||
|
fi
|
||||||
if test "x$ac_cv_linux_fs_struct_inode_has_i_mapping_overload" = "xyes"; then
|
if test "x$ac_cv_linux_fs_struct_inode_has_i_mapping_overload" = "xyes"; then
|
||||||
AC_DEFINE(STRUCT_INODE_HAS_I_MAPPING_OVERLOAD)
|
AC_DEFINE(STRUCT_INODE_HAS_I_MAPPING_OVERLOAD)
|
||||||
fi
|
fi
|
||||||
|
@ -118,6 +118,7 @@ case $system in
|
|||||||
LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM
|
LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM
|
||||||
LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
|
LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
|
||||||
LINUX_FS_STRUCT_INODE_HAS_I_MAPPING_OVERLOAD
|
LINUX_FS_STRUCT_INODE_HAS_I_MAPPING_OVERLOAD
|
||||||
|
LINUX_FS_STRUCT_INODE_HAS_I_MMAP_SHARED
|
||||||
LINUX_INODE_SETATTR_RETURN_TYPE
|
LINUX_INODE_SETATTR_RETURN_TYPE
|
||||||
LINUX_NEED_RHCONFIG
|
LINUX_NEED_RHCONFIG
|
||||||
LINUX_WHICH_MODULES
|
LINUX_WHICH_MODULES
|
||||||
@ -127,6 +128,9 @@ case $system in
|
|||||||
if test "x$ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers" = "xyes"; then
|
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)
|
AC_DEFINE(STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS)
|
||||||
fi
|
fi
|
||||||
|
if test "x$ac_cv_linux_fs_struct_inode_has_i_mmap_shared" = "xyes"; then
|
||||||
|
AC_DEFINE(STRUCT_INODE_HAS_I_MMAP_SHARED)
|
||||||
|
fi
|
||||||
if test "x$ac_cv_linux_fs_struct_inode_has_i_mapping_overload" = "xyes"; then
|
if test "x$ac_cv_linux_fs_struct_inode_has_i_mapping_overload" = "xyes"; then
|
||||||
AC_DEFINE(STRUCT_INODE_HAS_I_MAPPING_OVERLOAD)
|
AC_DEFINE(STRUCT_INODE_HAS_I_MAPPING_OVERLOAD)
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user