Re: mempools conversions, more ..

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 10 Oct 2000 13:42:39 +0800

On Mon, Oct 09, 2000, Andres Kroonmaa wrote:
>
> squid-HEAD/src>grep _RebuildState fs/*/*.c
>
> fs/aufs/store_dir_aufs.c:typedef struct _RebuildState RebuildState;
> fs/aufs/store_dir_aufs.c:struct _RebuildState {
> fs/coss/store_dir_coss.c:typedef struct _RebuildState RebuildState;
> fs/coss/store_dir_coss.c:struct _RebuildState {
> fs/diskd/store_dir_diskd.c:typedef struct _RebuildState RebuildState;
> fs/diskd/store_dir_diskd.c:struct _RebuildState {
> fs/ufs/store_dir_ufs.c:typedef struct _RebuildState RebuildState;
> fs/ufs/store_dir_ufs.c:struct _RebuildState {
>
> Is this intentional that each FS type has its own private definition
> of typedef/struct _RebuildState ?
> shouldn't these be moved to structs.h and typedefs.h ?

its due to the way I duplicated the FS code when doing modio. The libufs stuff
will get around this as the rebuild state will be in there for all FSes to
share.

Adrian

-- 
Adrian Chadd			"If a butterfly flaps its wings in China,
<adrian@creative.net.au>	    will a woman get naked in Amsterdam?"
				      -- Ashley Penney on Chaos Theory
Received on Mon Oct 09 2000 - 23:42:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:42 MST