Make the da(4) driver notify GEOM about LUN size change.
Reviewed by: mav Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
19d6a6d81b
commit
770bbae61e
@ -2644,6 +2644,8 @@ dasetgeom(struct cam_periph *periph, uint32_t block_len, uint64_t maxsector,
|
||||
softc->disk->d_flags |= DISKFLAG_CANDELETE;
|
||||
else
|
||||
softc->disk->d_flags &= ~DISKFLAG_CANDELETE;
|
||||
|
||||
disk_resize(softc->disk);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user