How to make modules xfs.ko in RedHat/Centos Linux

First, follow up the page link http://wiki.centos.org/HowTos/BuildingKernelModules to understand basically kernel source make knowledge. 

Example Commands.
#cd ~/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.i686
#cp /boot/config-2.6.32-504.16.2.el6.i686 .config
#cp /usr/src/kernel/`uname -r`/Makefile .
#make menuconfig -> FileSystem -> xfs to enable as module
#make prepare
#make bzImage
#make M=fs modules_prepare
#make M=fs
#make M=fs/exportfs modules_install
#make M=fs/xfs modules_install
#depmod -ae
#modprbe xfs