mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: unused header file removal
cov: unused header removed Also ensure library header file with config settings goes first. Move inclusion of format-text.h into layout.h
This commit is contained in:
parent
c5e5ae4c95
commit
de43527f94
@ -18,11 +18,10 @@
|
|||||||
|
|
||||||
#include "lib/config/config.h"
|
#include "lib/config/config.h"
|
||||||
#include "lib/metadata/metadata.h"
|
#include "lib/metadata/metadata.h"
|
||||||
|
#include "lib/format_text/format-text.h"
|
||||||
#include "lib/cache/lvmcache.h"
|
#include "lib/cache/lvmcache.h"
|
||||||
#include "lib/uuid/uuid.h"
|
#include "lib/uuid/uuid.h"
|
||||||
|
|
||||||
/* disk_locn and data_area_list are defined in format-text.h */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PV header extension versions:
|
* PV header extension versions:
|
||||||
* - version 1: bootloader area support
|
* - version 1: bootloader area support
|
||||||
|
@ -135,11 +135,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "base/memory/zalloc.h"
|
|
||||||
#include "lib/misc/lib.h"
|
#include "lib/misc/lib.h"
|
||||||
|
#include "base/memory/zalloc.h"
|
||||||
#include "lib/label/label.h"
|
#include "lib/label/label.h"
|
||||||
#include "lib/misc/crc.h"
|
#include "lib/misc/crc.h"
|
||||||
#include "lib/mm/xlate.h"
|
|
||||||
#include "lib/cache/lvmcache.h"
|
#include "lib/cache/lvmcache.h"
|
||||||
#include "lib/device/bcache.h"
|
#include "lib/device/bcache.h"
|
||||||
#include "lib/commands/toolcontext.h"
|
#include "lib/commands/toolcontext.h"
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "base/memory/zalloc.h"
|
|
||||||
#include "lib/misc/lib.h"
|
#include "lib/misc/lib.h"
|
||||||
|
#include "base/memory/zalloc.h"
|
||||||
#include "lib/label/label.h"
|
#include "lib/label/label.h"
|
||||||
#include "lib/misc/crc.h"
|
#include "lib/misc/crc.h"
|
||||||
#include "lib/mm/xlate.h"
|
#include "lib/mm/xlate.h"
|
||||||
@ -24,7 +24,6 @@
|
|||||||
#include "lib/activate/activate.h"
|
#include "lib/activate/activate.h"
|
||||||
#include "lib/label/hints.h"
|
#include "lib/label/hints.h"
|
||||||
#include "lib/metadata/metadata.h"
|
#include "lib/metadata/metadata.h"
|
||||||
#include "lib/format_text/format-text.h"
|
|
||||||
#include "lib/format_text/layout.h"
|
#include "lib/format_text/layout.h"
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include "lib/metadata/segtype.h"
|
#include "lib/metadata/segtype.h"
|
||||||
#include "lib/activate/activate.h"
|
#include "lib/activate/activate.h"
|
||||||
#include "lib/config/defaults.h"
|
#include "lib/config/defaults.h"
|
||||||
#include "lib/activate/dev_manager.h"
|
|
||||||
|
|
||||||
int lv_is_writecache_origin(const struct logical_volume *lv)
|
int lv_is_writecache_origin(const struct logical_volume *lv)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include "lib/label/hints.h"
|
#include "lib/label/hints.h"
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <sys/file.h>
|
|
||||||
|
|
||||||
struct pvscan_params {
|
struct pvscan_params {
|
||||||
int new_pvs_found;
|
int new_pvs_found;
|
||||||
|
Loading…
Reference in New Issue
Block a user