diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-02-18 14:29:39 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-02-18 14:29:39 +0000 |
commit | ab8b85fb80351c9fcd15d5b98cbe3d9be337923e (patch) | |
tree | c25850e4d10fe6d8d9c92428dda0dbdcf3bca55c /lib/snapshot | |
parent | 44376ffe22889652a14791ea8885fe7431bfacaa (diff) | |
download | lvm2-ab8b85fb80351c9fcd15d5b98cbe3d9be337923e.tar.gz |
Fix !DEVMAPPER_SUPPORT build
Fix build when devmapper is disabled.
Diffstat (limited to 'lib/snapshot')
-rw-r--r-- | lib/snapshot/snapshot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/snapshot/snapshot.c b/lib/snapshot/snapshot.c index 1a98d7e0d..af5d70895 100644 --- a/lib/snapshot/snapshot.c +++ b/lib/snapshot/snapshot.c @@ -260,10 +260,12 @@ struct segment_type *init_segtype(struct cmd_context *cmd) segtype->private = NULL; segtype->flags = SEG_SNAPSHOT; +#ifdef DEVMAPPER_SUPPORT #ifdef DMEVENTD if (_get_snapshot_dso_path(cmd)) segtype->flags |= SEG_MONITORED; #endif +#endif log_very_verbose("Initialised segtype: %s", segtype->name); return segtype; |