[lvm-devel] [PATCH 05/22] Replicator: add lvm support

Alasdair G Kergon agk at redhat.com
Mon Apr 26 14:10:13 UTC 2010


On Mon, Apr 12, 2010 at 05:21:33PM +0200, Zdenek Kabelac wrote:
> Adding configure.in support for Replicators.
> Adding basic lib lvm support for Replicators.
> Adding flags REPLICATOR and REPLICATOR_LOG.
> Adding segments SEG_REPLICATOR and SEG_REPLICATOR_DEV.
> Adding basic methods for handling replicator metadata.
 
> +++ b/lib/metadata/replicator_manip.c

> +#include <inttypes.h>
> +#include <sys/types.h>
> +#include "libdevmapper.h"
> +#include "lvm-types.h"
> +
> +#include "activate.h"
> +#include "archiver.h"
> +#include "defaults.h"
> +#include "label.h"
> +#include "lib.h"
> +#include "locking.h"
> +#include "lv_alloc.h"
> +#include "lvm-string.h"
> +#include "metadata.h"
> +#include "segtype.h"
> +#include "toolcontext.h"

Please clean up those includes: First one is required to be "lib.h" and then
you'll find several of the others listed are already included!

Alasdair




More information about the lvm-devel mailing list