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

Phil Carns carns at mcs.anl.gov
Tue Jun 30 14:48:55 EDT 2009


Thanks Dries.  It looks like fs_struct.h goes back even into the 2.4 
series.  I went ahead and dropped the change into CVS trunk.

-Phil

Dries Kimpe wrote:
> 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
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers



More information about the Pvfs2-developers mailing list