Fix spelling typos.
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
This commit is contained in:
parent
9f4218274c
commit
ebf3be9931
|
@ -879,7 +879,7 @@ static int force_array(struct mdinfo *content,
|
||||||
current_events = devices[chosen_drive].i.events;
|
current_events = devices[chosen_drive].i.events;
|
||||||
add_another:
|
add_another:
|
||||||
if (c->verbose >= 0)
|
if (c->verbose >= 0)
|
||||||
pr_err("forcing event count in %s(%d) from %d upto %d\n",
|
pr_err("forcing event count in %s(%d) from %d up to %d\n",
|
||||||
devices[chosen_drive].devname,
|
devices[chosen_drive].devname,
|
||||||
devices[chosen_drive].i.disk.raid_disk,
|
devices[chosen_drive].i.disk.raid_disk,
|
||||||
(int)(devices[chosen_drive].i.events),
|
(int)(devices[chosen_drive].i.events),
|
||||||
|
|
2
Create.c
2
Create.c
|
@ -823,7 +823,7 @@ int Create(struct supertype *st, char *mddev,
|
||||||
}
|
}
|
||||||
bitmap_fd = open(s->bitmap_file, O_RDWR);
|
bitmap_fd = open(s->bitmap_file, O_RDWR);
|
||||||
if (bitmap_fd < 0) {
|
if (bitmap_fd < 0) {
|
||||||
pr_err("weird: %s cannot be openned\n",
|
pr_err("weird: %s cannot be opened\n",
|
||||||
s->bitmap_file);
|
s->bitmap_file);
|
||||||
goto abort_locked;
|
goto abort_locked;
|
||||||
}
|
}
|
||||||
|
|
6
Grow.c
6
Grow.c
|
@ -446,7 +446,7 @@ int Grow_addbitmap(char *devname, int fd, struct context *c, struct shape *s)
|
||||||
if (offset_setable) {
|
if (offset_setable) {
|
||||||
st->ss->getinfo_super(st, mdi, NULL);
|
st->ss->getinfo_super(st, mdi, NULL);
|
||||||
if (sysfs_init(mdi, fd, NULL)) {
|
if (sysfs_init(mdi, fd, NULL)) {
|
||||||
pr_err("failed to intialize sysfs.\n");
|
pr_err("failed to initialize sysfs.\n");
|
||||||
free(mdi);
|
free(mdi);
|
||||||
}
|
}
|
||||||
rv = sysfs_set_num_signed(mdi, NULL, "bitmap/location",
|
rv = sysfs_set_num_signed(mdi, NULL, "bitmap/location",
|
||||||
|
@ -2178,7 +2178,7 @@ size_change_error:
|
||||||
memset(&info, 0, sizeof(info));
|
memset(&info, 0, sizeof(info));
|
||||||
info.array = array;
|
info.array = array;
|
||||||
if (sysfs_init(&info, fd, NULL)) {
|
if (sysfs_init(&info, fd, NULL)) {
|
||||||
pr_err("failed to intialize sysfs.\n");
|
pr_err("failed to initialize sysfs.\n");
|
||||||
rv = 1;
|
rv = 1;
|
||||||
goto release;
|
goto release;
|
||||||
}
|
}
|
||||||
|
@ -2903,7 +2903,7 @@ static int impose_level(int fd, int level, char *devname, int verbose)
|
||||||
struct mdinfo info;
|
struct mdinfo info;
|
||||||
|
|
||||||
if (sysfs_init(&info, fd, NULL)) {
|
if (sysfs_init(&info, fd, NULL)) {
|
||||||
pr_err("failed to intialize sysfs.\n");
|
pr_err("failed to initialize sysfs.\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1900,7 +1900,7 @@ static struct vd_config *find_vdcr(struct ddf_super *ddf, unsigned int inst,
|
||||||
return conf;
|
return conf;
|
||||||
}
|
}
|
||||||
bad:
|
bad:
|
||||||
pr_err("Could't find disk %d in array %u\n", n, inst);
|
pr_err("Couldn't find disk %d in array %u\n", n, inst);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10034,7 +10034,7 @@ static void imsm_process_update(struct supertype *st,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
pr_err("error: unsuported process update type:(type: %d)\n", type);
|
pr_err("error: unsupported process update type:(type: %d)\n", type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue