#################################################################
#                                                               #
#                        NOTICE                                 #
# This xfs module rpm has been provided for testing purposes    #
# only.  It is believed to be functional, but it has not been   #
# heavily tested.  In particular, you may have issues with the  #
# 4KSTACKS option on RHEL4 ia32 kernels, depending on your IO   #
# hardware, layering, nfs usage, etc.                           #
#                                                               #
# Please do NOT report any problems with this module, or with   #
# the kernel when this module is loaded, to Red Hat.            #
# You may report issues to the linux-xfs@oss.sgi.com list.      #
# (Please also report successes!)                               #
#                                                               #
#################################################################

To rebuild, do something like this:

rpmbuild --rebuild --target i686 --define "kernel_topdir /lib/modules/2.6.9-22.EL/build" kernel-module-xfs-2.6.9-22.EL-0.1-1.src.rpm

where the --target should match your architecture (actually not needed
for x86_64 or ia64, it just affects the rpm name), and the kernel_topdir
is /lib/modules/`uname -r`/build for the RHEL4 kernel you wish to build against.

I have tested this xfs codebase a bit with the 2.6.9-22.EL kernel; it may
work with other RHEL4 kernels, but no guarantees.

-Eric