svn commit: r238217 - head/sys/cam/scsi
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat Jul 7 22:19:52 UTC 2012
Author: trasz
Date: Sat Jul 7 22:19:51 2012
New Revision: 238217
URL: http://svn.freebsd.org/changeset/base/238217
Log:
Make the da(4) driver notify GEOM about LUN size change.
Reviewed by: mav
Sponsored by: FreeBSD Foundation
Modified:
head/sys/cam/scsi/scsi_da.c
Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c Sat Jul 7 21:28:31 2012 (r238216)
+++ head/sys/cam/scsi/scsi_da.c Sat Jul 7 22:19:51 2012 (r238217)
@@ -2644,6 +2644,8 @@ dasetgeom(struct cam_periph *periph, uin
softc->disk->d_flags |= DISKFLAG_CANDELETE;
else
softc->disk->d_flags &= ~DISKFLAG_CANDELETE;
+
+ disk_resize(softc->disk);
}
static void
More information about the svn-src-head
mailing list