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

Reviewed by:	mav
Sponsored by:	FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2012-07-07 22:19:51 +00:00
parent bc97ce36f7
commit c79ea20306
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238217

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