Make the da(4) driver notify GEOM about LUN size change.

Reviewed by:	mav
Sponsored by:	FreeBSD Foundation
This commit is contained in:
trasz 2012-07-07 22:19:51 +00:00
parent 19d6a6d81b
commit 770bbae61e

View File

@ -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