[Pvfs2-developers] pvfs kernel module compilation fix for 2.6.30

Dries Kimpe dkimpe at mcs.anl.gov
Thu Jun 11 16:52:32 EDT 2009


It seems in that, in 2.6.30, fs_struct.h is no longer included from some
other headers, causing acl.c (src/kernel/linux-2.6/acl.c) to fail
compilation. 

Solution: include fs_struct.h.
I verified that the header also exists on 2.6.28 and above, but I'm not
sure if it goes all the way back to 2.6.0 

  Dries

diff --git a/src/kernel/linux-2.6/acl.c b/src/kernel/linux-2.6/acl.c
index 179dc85..16983ef 100644
--- a/src/kernel/linux-2.6/acl.c
+++ b/src/kernel/linux-2.6/acl.c
@@ -31,6 +31,7 @@
 #include <linux/xattr_acl.h>
 #endif
 #include "bmi-byteswap.h"
+#include <linux/fs_struct.h>
 
 /*
  * Encoding and Decoding the extended attributes so that we can

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20090611/59f264b5/attachment.bin


More information about the Pvfs2-developers mailing list