When trying to emerge gfs-kernel-1.01.00 on a machine running xen-sources-2.6.16-rc3 I ran into problems because of API changes in newer kernel-versions. i_sem and up/down has changed between 2.6.15 and 2.6.16 to i_mutex and mutex_unlock/mutex_lock. Also a couple of API changes relating to superblocks seem to have happened in newer kernel versions. Here is a patch that makes gfs-kernel compile on 2.6.16. Was also tested successfully on gentoo-sources-2.6.15-r1.
Created attachment 80822 [details, diff] Patch to gfs-kernel to allow compile on newer kernel versions
Created attachment 80823 [details] Suggested gfs-kernel-1.01.00-r1 ebuild that applies attached patch
*** This bug has been marked as a duplicate of 123842 ***
Bad patch. :)