- When renaming a drive, also set the drive name in the gvinum header.
PR: kern/125632 Approved by: pjd (mentor) MFC after: 3 days
This commit is contained in:
parent
8fd5cf995c
commit
d5f479c4b3
@ -142,6 +142,7 @@ gv_rename_drive(struct gv_softc *sc, struct gctl_req *req, struct gv_drive *d, c
|
||||
}
|
||||
|
||||
strncpy(d->name, newname, GV_MAXDRIVENAME);
|
||||
strncpy(d->hdr->label.name, newname, GV_MAXDRIVENAME);
|
||||
|
||||
/* XXX can we rename providers here? */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user