Trying to compile Samba-3.5.6 with Kernelheaders 2.6.36 fails at sysquotas_xfs.c because the XFS_QUOTA_XXX defines were renamed to FS_QUOTA_XXX. Renaming the the macros in sysquotas_xfs.c to FS_QUOTA_XXX solves this problem.
Created attachment 7888 [details] fix for 3.5 thanks for the report! that finally explains why it doesn't build with the kernel header file anymore but only with the xfs header file that the man page of quotactl() recommends. In master this is fixed by using the recommended include. For 3.5 the attached patch fixes it with minimal changes.
Comment on attachment 7888 [details] fix for 3.5 Looks ok
Karolin, please pick for the next release
Pushed to v3-5-test. Will be included in the next bugfix release. Closing out bug report. Thanks!