Details
Description
Started to do some testing on my SLES11 SP3 test machine to discover this build error.
In file included from /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:71:
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h: In function ‘ldiskfs_get_htree_eof’:
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: ‘FMODE_32BITHASH’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: (Each undeclared identifier is reported only once
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: for each function it appears in.)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1095: error: ‘FMODE_64BITHASH’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1096: error: ‘LDISKFS_HTREE_EOF_32BIT’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1098: error: ‘LDISKFS_HTREE_EOF_64BIT’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c: In function ‘osd_it_ea_init’:
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:5002: error: ‘FMODE_64BITHASH’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:5004: error: ‘FMODE_32BITHASH’ undeclared (first use in this function)
make[8]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.o] Error 1
make[7]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs] Error 2
make[6]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre] Error 2
make[5]: *** [_module_/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94] Error 2
I tracked it down to a missing patch for ldiskfs.