Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
#include "activate.h"
#include "lvm_misc.h"
-#include <string.h>
-
static int _lv_check_handle(const lv_t lv, const int vg_writeable)
{
if (!lv || !lv->vg || vg_read_error(lv->vg))
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "lvm2app.h"
#include "lvm_misc.h"
+#include "lib.h"
struct dm_list *tag_list_copy(struct dm_pool *p, struct dm_list *tag_list)
{
#ifndef _LVM2APP_MISC_H
#define _LVM2APP_MISC_H
-#include "lib.h"
-#include "lvm2app.h"
-#include "toolcontext.h"
-#include "metadata-exported.h"
-#include "archiver.h"
-#include "locking.h"
-#include "lvm-string.h"
-#include "lvmcache.h"
-#include "metadata.h"
+#include "libdevmapper.h"
struct dm_list *tag_list_copy(struct dm_pool *p, struct dm_list *tag_list);
#include "lib.h"
#include "lvm2app.h"
#include "toolcontext.h"
-#include "metadata-exported.h"
+#include "metadata.h"
#include "archiver.h"
#include "locking.h"
-#include "lvm-string.h"
#include "lvmcache.h"
-#include "metadata.h"
#include "lvm_misc.h"
-#include <errno.h>
-#include <string.h>
-
int lvm_vg_add_tag(vg_t vg, const char *tag)
{
if (vg_read_error(vg))