mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Remove unnecessary list of includes in liblvm files.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
This commit is contained in:
parent
08f1ddea6c
commit
d01a6a2c5c
@ -22,8 +22,6 @@
|
||||
#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))
|
||||
|
@ -12,7 +12,9 @@
|
||||
* 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)
|
||||
{
|
||||
|
@ -14,15 +14,7 @@
|
||||
#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);
|
||||
|
||||
|
@ -15,17 +15,12 @@
|
||||
#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))
|
||||
|
Loading…
Reference in New Issue
Block a user