Remove trailing whitespace (one I just introduced and a bunch of
others in the same directory). Sponsored by: Netflix
This commit is contained in:
parent
d65b6588d6
commit
2ab9683565
@ -1352,7 +1352,7 @@ g_part_ctl_resize(struct gctl_req *req, struct g_part_parms *gpp)
|
||||
/* Deny shrinking of an opened partition. */
|
||||
gctl_error(req, "%d", EBUSY);
|
||||
return (EBUSY);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
error = G_PART_RESIZE(table, entry, gpp);
|
||||
|
@ -207,7 +207,7 @@ apm_read_ent(struct g_consumer *cp, uint32_t blk, struct apm_ent *ent,
|
||||
}
|
||||
|
||||
static int
|
||||
g_part_apm_add(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
g_part_apm_add(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
struct g_part_parms *gpp)
|
||||
{
|
||||
struct g_part_apm_entry *entry;
|
||||
|
@ -72,7 +72,7 @@ static int g_part_bsd_destroy(struct g_part_table *, struct g_part_parms *);
|
||||
static void g_part_bsd_dumpconf(struct g_part_table *, struct g_part_entry *,
|
||||
struct sbuf *, const char *);
|
||||
static int g_part_bsd_dumpto(struct g_part_table *, struct g_part_entry *);
|
||||
static int g_part_bsd_modify(struct g_part_table *, struct g_part_entry *,
|
||||
static int g_part_bsd_modify(struct g_part_table *, struct g_part_entry *,
|
||||
struct g_part_parms *);
|
||||
static const char *g_part_bsd_name(struct g_part_table *, struct g_part_entry *,
|
||||
char *, size_t);
|
||||
@ -256,7 +256,7 @@ g_part_bsd_destroy(struct g_part_table *basetable, struct g_part_parms *gpp)
|
||||
}
|
||||
|
||||
static void
|
||||
g_part_bsd_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
g_part_bsd_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
struct sbuf *sb, const char *indent)
|
||||
{
|
||||
struct g_part_bsd_entry *entry;
|
||||
@ -275,7 +275,7 @@ g_part_bsd_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
}
|
||||
|
||||
static int
|
||||
g_part_bsd_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
g_part_bsd_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
{
|
||||
struct g_part_bsd_entry *entry;
|
||||
|
||||
@ -471,7 +471,7 @@ g_part_bsd_read(struct g_part_table *basetable, struct g_consumer *cp)
|
||||
}
|
||||
|
||||
static const char *
|
||||
g_part_bsd_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
g_part_bsd_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
char *buf, size_t bufsz)
|
||||
{
|
||||
struct g_part_bsd_entry *entry;
|
||||
|
@ -127,7 +127,7 @@ static int g_part_bsd64_destroy(struct g_part_table *, struct g_part_parms *);
|
||||
static void g_part_bsd64_dumpconf(struct g_part_table *, struct g_part_entry *,
|
||||
struct sbuf *, const char *);
|
||||
static int g_part_bsd64_dumpto(struct g_part_table *, struct g_part_entry *);
|
||||
static int g_part_bsd64_modify(struct g_part_table *, struct g_part_entry *,
|
||||
static int g_part_bsd64_modify(struct g_part_table *, struct g_part_entry *,
|
||||
struct g_part_parms *);
|
||||
static const char *g_part_bsd64_name(struct g_part_table *, struct g_part_entry *,
|
||||
char *, size_t);
|
||||
@ -409,7 +409,7 @@ g_part_bsd64_dumpconf(struct g_part_table *basetable,
|
||||
}
|
||||
|
||||
static int
|
||||
g_part_bsd64_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
g_part_bsd64_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
{
|
||||
struct g_part_bsd64_entry *entry;
|
||||
|
||||
@ -577,7 +577,7 @@ invalid_label:
|
||||
}
|
||||
|
||||
static const char *
|
||||
g_part_bsd64_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
g_part_bsd64_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
char *buf, size_t bufsz)
|
||||
{
|
||||
struct g_part_bsd64_entry *entry;
|
||||
|
@ -80,7 +80,7 @@ static int g_part_ebr_dumpto(struct g_part_table *, struct g_part_entry *);
|
||||
static void g_part_ebr_fullname(struct g_part_table *, struct g_part_entry *,
|
||||
struct sbuf *, const char *);
|
||||
#endif
|
||||
static int g_part_ebr_modify(struct g_part_table *, struct g_part_entry *,
|
||||
static int g_part_ebr_modify(struct g_part_table *, struct g_part_entry *,
|
||||
struct g_part_parms *);
|
||||
static const char *g_part_ebr_name(struct g_part_table *, struct g_part_entry *,
|
||||
char *, size_t);
|
||||
@ -322,11 +322,11 @@ g_part_ebr_destroy(struct g_part_table *basetable, struct g_part_parms *gpp)
|
||||
}
|
||||
|
||||
static void
|
||||
g_part_ebr_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
g_part_ebr_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
struct sbuf *sb, const char *indent)
|
||||
{
|
||||
struct g_part_ebr_entry *entry;
|
||||
|
||||
|
||||
entry = (struct g_part_ebr_entry *)baseentry;
|
||||
if (indent == NULL) {
|
||||
/* conftxt: libdisk compatibility */
|
||||
@ -343,7 +343,7 @@ g_part_ebr_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
}
|
||||
|
||||
static int
|
||||
g_part_ebr_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
g_part_ebr_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
{
|
||||
struct g_part_ebr_entry *entry;
|
||||
|
||||
@ -595,7 +595,7 @@ g_part_ebr_setunset(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
}
|
||||
|
||||
static const char *
|
||||
g_part_ebr_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
g_part_ebr_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
char *buf, size_t bufsz)
|
||||
{
|
||||
struct g_part_ebr_entry *entry;
|
||||
@ -667,7 +667,7 @@ g_part_ebr_write(struct g_part_table *basetable, struct g_consumer *cp)
|
||||
p[7] = entry->ent.dp_ecyl;
|
||||
le32enc(p + 8, entry->ent.dp_start);
|
||||
le32enc(p + 12, entry->ent.dp_size);
|
||||
|
||||
|
||||
next = LIST_NEXT(baseentry, gpe_entry);
|
||||
while (next != NULL && next->gpe_deleted)
|
||||
next = LIST_NEXT(next, gpe_entry);
|
||||
|
@ -699,11 +699,11 @@ g_part_gpt_destroy(struct g_part_table *basetable, struct g_part_parms *gpp)
|
||||
}
|
||||
|
||||
static void
|
||||
g_part_gpt_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
g_part_gpt_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
struct sbuf *sb, const char *indent)
|
||||
{
|
||||
struct g_part_gpt_entry *entry;
|
||||
|
||||
|
||||
entry = (struct g_part_gpt_entry *)baseentry;
|
||||
if (indent == NULL) {
|
||||
/* conftxt: libdisk compatibility */
|
||||
@ -743,7 +743,7 @@ g_part_gpt_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
}
|
||||
|
||||
static int
|
||||
g_part_gpt_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
g_part_gpt_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
{
|
||||
struct g_part_gpt_entry *entry;
|
||||
|
||||
@ -866,7 +866,7 @@ g_part_gpt_probe(struct g_part_table *table, struct g_consumer *cp)
|
||||
&error);
|
||||
if (buf == NULL)
|
||||
return (error);
|
||||
res = memcmp(buf, GPT_HDR_SIG, 8);
|
||||
res = memcmp(buf, GPT_HDR_SIG, 8);
|
||||
g_free(buf);
|
||||
return ((res == 0) ? pri : ENXIO);
|
||||
}
|
||||
@ -1108,13 +1108,13 @@ g_part_gpt_setunset(struct g_part_table *basetable,
|
||||
}
|
||||
|
||||
static const char *
|
||||
g_part_gpt_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
g_part_gpt_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
char *buf, size_t bufsz)
|
||||
{
|
||||
struct g_part_gpt_entry *entry;
|
||||
struct uuid *type;
|
||||
struct g_part_uuid_alias *uap;
|
||||
|
||||
|
||||
entry = (struct g_part_gpt_entry *)baseentry;
|
||||
type = &entry->ent.ent_type;
|
||||
for (uap = &gpt_uuid_alias_match[0]; uap->uuid; uap++)
|
||||
|
@ -77,7 +77,7 @@ static int g_part_mbr_destroy(struct g_part_table *, struct g_part_parms *);
|
||||
static void g_part_mbr_dumpconf(struct g_part_table *, struct g_part_entry *,
|
||||
struct sbuf *, const char *);
|
||||
static int g_part_mbr_dumpto(struct g_part_table *, struct g_part_entry *);
|
||||
static int g_part_mbr_modify(struct g_part_table *, struct g_part_entry *,
|
||||
static int g_part_mbr_modify(struct g_part_table *, struct g_part_entry *,
|
||||
struct g_part_parms *);
|
||||
static const char *g_part_mbr_name(struct g_part_table *, struct g_part_entry *,
|
||||
char *, size_t);
|
||||
@ -303,13 +303,13 @@ g_part_mbr_destroy(struct g_part_table *basetable, struct g_part_parms *gpp)
|
||||
}
|
||||
|
||||
static void
|
||||
g_part_mbr_dumpconf(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
g_part_mbr_dumpconf(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
struct sbuf *sb, const char *indent)
|
||||
{
|
||||
struct g_part_mbr_entry *entry;
|
||||
struct g_part_mbr_table *table;
|
||||
uint32_t dsn;
|
||||
|
||||
|
||||
table = (struct g_part_mbr_table *)basetable;
|
||||
entry = (struct g_part_mbr_entry *)baseentry;
|
||||
if (indent == NULL) {
|
||||
@ -332,7 +332,7 @@ g_part_mbr_dumpconf(struct g_part_table *basetable, struct g_part_entry *baseent
|
||||
}
|
||||
|
||||
static int
|
||||
g_part_mbr_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
g_part_mbr_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
|
||||
{
|
||||
struct g_part_mbr_entry *entry;
|
||||
|
||||
@ -560,7 +560,7 @@ g_part_mbr_setunset(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
}
|
||||
|
||||
static const char *
|
||||
g_part_mbr_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
g_part_mbr_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
|
||||
char *buf, size_t bufsz)
|
||||
{
|
||||
struct g_part_mbr_entry *entry;
|
||||
|
Loading…
x
Reference in New Issue
Block a user