From: Brian J. W. <Bri...@hp...> - 2003-06-05 23:04:32
|
Aneesh Kumar K.V wrote: > I made these changes for cluster-tools to build > > --- /home/kvaneesh/SSI-reorg/ci/kernel/include/cluster/ssisys.h Wed Jun > 4 03:52:31 2003 > +++ ssisys.h Thu Jun 5 18:22:58 2003 > @@ -21,8 +21,11 @@ > * > */ > #ifndef _CLUSTER_SSISYS_H > #define _CLUSTER_SSISYS_H > +/* JAG - Linux version ???? */ > +#define FSTYPSZ 16 > + This value is now defined in kernel/include/cluster/nsc.h. Grep'ing the source, I see it's only used in the CFS kernel code. I don't think it needs to be redefined here. > @@ -154,8 +157,9 @@ > > extern long do_ssisys(ssisys_iovec_t *); > extern long do_discover_mounts(const char *, int); > > +#endif /* __KERNEL__ */ > /* > * IN argument structure used for SSISYS_LDLVL_INIT > */ > struct ts_ldinit_inargs { > @@ -371,9 +375,8 @@ > }; > typedef struct ts_get_primary_inargs ts_get_primary_inargs_t; > > > -#endif /* __KERNEL__ */ It looks like there are only two structures in this block that are used by cluster-tools. The rest of it doesn't need to be exposed outside the kernel. I've checked in a fix that only exposes what is needed. I've tested it to make sure it builds. Brian |