mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Alignment tidying.
This commit is contained in:
parent
4a0623f909
commit
1165258cda
@ -1,5 +1,6 @@
|
||||
Version 2.01.10 -
|
||||
================================
|
||||
Alignment tidying.
|
||||
|
||||
Version 2.01.09 - 4th April 2005
|
||||
================================
|
||||
|
3
lib/cache/lvmcache.h
vendored
3
lib/cache/lvmcache.h
vendored
@ -36,9 +36,10 @@ struct volume_group;
|
||||
struct lvmcache_vginfo {
|
||||
struct list list; /* Join these vginfos together */
|
||||
struct list infos; /* List head for lvmcache_infos */
|
||||
const struct format_type *fmt;
|
||||
char *vgname; /* "" == orphan */
|
||||
char vgid[ID_LEN + 1];
|
||||
const struct format_type *fmt;
|
||||
char _padding[7];
|
||||
};
|
||||
|
||||
struct lvmcache_info {
|
||||
|
@ -32,17 +32,15 @@ struct config_info {
|
||||
int syslog;
|
||||
int activation;
|
||||
int suffix;
|
||||
uint64_t unit_factor;
|
||||
char unit_type;
|
||||
const char *msg_prefix;
|
||||
int cmd_name; /* Show command name? */
|
||||
|
||||
int archive; /* should we archive ? */
|
||||
int backup; /* should we backup ? */
|
||||
|
||||
const char *msg_prefix;
|
||||
struct format_type *fmt;
|
||||
|
||||
uint64_t unit_factor;
|
||||
int cmd_name; /* Show command name? */
|
||||
mode_t umask;
|
||||
char unit_type;
|
||||
char _padding[1];
|
||||
};
|
||||
|
||||
struct config_tree;
|
||||
|
@ -41,6 +41,7 @@ struct device {
|
||||
struct list open_list;
|
||||
|
||||
char pvid[ID_LEN + 1];
|
||||
char _padding[7];
|
||||
};
|
||||
|
||||
struct device_list {
|
||||
|
@ -855,9 +855,9 @@ static int _copypercent_disp(struct report_handle *rh, struct field *field,
|
||||
|
||||
static struct {
|
||||
report_type_t type;
|
||||
const char id[30];
|
||||
const char id[32];
|
||||
off_t offset;
|
||||
const char heading[30];
|
||||
const char heading[32];
|
||||
int width;
|
||||
uint32_t flags;
|
||||
field_report_fn report_fn;
|
||||
|
@ -25,11 +25,11 @@ struct id {
|
||||
|
||||
/*
|
||||
* Unique logical volume identifier
|
||||
* With format1 this is VG uuid + LV uuid + '\0'
|
||||
* With format1 this is VG uuid + LV uuid + '\0' + padding
|
||||
*/
|
||||
union lvid {
|
||||
struct id id[2];
|
||||
char s[2 * sizeof(struct id) + 1];
|
||||
char s[2 * sizeof(struct id) + 1 + 7];
|
||||
};
|
||||
|
||||
int lvid_from_lvnum(union lvid *lvid, struct id *vgid, uint32_t lv_num);
|
||||
|
@ -54,7 +54,7 @@ extern char *optarg;
|
||||
*/
|
||||
struct arg the_args[ARG_COUNT + 1] = {
|
||||
|
||||
#define arg(a, b, c, d) {b, "--" c, d, 0, NULL, 0, 0, INT64_C(0), UINT64_C(0), 0, NULL},
|
||||
#define arg(a, b, c, d) {b, "", "--" c, d, 0, NULL, 0, 0, INT64_C(0), UINT64_C(0), 0, NULL},
|
||||
#include "args.h"
|
||||
#undef arg
|
||||
|
||||
|
@ -89,7 +89,9 @@ enum {
|
||||
/* a global table of possible arguments */
|
||||
struct arg {
|
||||
const char short_arg;
|
||||
char _padding[7];
|
||||
const char *long_arg;
|
||||
|
||||
int (*fn) (struct cmd_context * cmd, struct arg * a);
|
||||
|
||||
unsigned int count;
|
||||
|
Loading…
Reference in New Issue
Block a user