[OpenAFS-devel] Odd Behavior with 1.4.2fc3
chas williams - CONTRACTOR
chas@cmf.nrl.navy.mil
Tue, 19 Sep 2006 14:15:04 -0400
In message <45100FD2.6020805@cert.org>,Jason McCormick writes:
>> try manually adding (dont run configure) a
>>
>> #define STRUCT_INODE_HAS_I_BLKSIZE 1
>>
>> to src/config/afsconfig.h and rebuild the client.
>
>That works. :)
here is a real patch. also submitted to openafs-bugs. hopefully
this will make it into 1.4.2-fc5.
Index: acinclude.m4
===================================================================
RCS file: /cvs/openafs/acinclude.m4,v
retrieving revision 1.114.2.60
diff -u -u -r1.114.2.60 acinclude.m4
--- acinclude.m4 16 Sep 2006 00:05:50 -0000 1.114.2.60
+++ acinclude.m4 19 Sep 2006 18:13:45 -0000
@@ -702,6 +702,9 @@
if test "x$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" = "xyes"; then
AC_DEFINE(STRUCT_INODE_HAS_I_TRUNCATE_SEM, 1, [define if your struct inode has truncate_sem])
fi
+ if test "x$ac_cv_linux_fs_struct_inode_has_i_blksize" = "xyes"; then
+ AC_DEFINE(STRUCT_INODE_HAS_I_BLKSIZE, 1, [define if your struct inode has i_blksize])
+ fi
if test "x$ac_cv_linux_fs_struct_inode_has_i_alloc_sem" = "xyes"; then
AC_DEFINE(STRUCT_INODE_HAS_I_ALLOC_SEM, 1, [define if your struct inode has alloc_sem])
fi