PERFORCE change 132954 for review

Kip Macy kmacy at FreeBSD.org
Wed Jan 9 23:04:36 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=132954

Change 132954 by kmacy at pandemonium:kmacy:xen31 on 2008/01/10 07:03:35

	use giant until this driver can be properly locked

Affected files ...

.. //depot/projects/xen31/sys/dev/xen/blkfront/blkfront.c#9 edit

Differences ...

==== //depot/projects/xen31/sys/dev/xen/blkfront/blkfront.c#9 (text+ko) ====

@@ -170,7 +170,7 @@
 		  xb_diskinfo[sc->xb_unit].device, sc->xb_unit,
 		  sc->xb_disk->d_mediasize);
 #endif
-	sc->xb_disk->d_flags = 0;
+	sc->xb_disk->d_flags = DISKFLAG_NEEDSGIANT;
 	disk_create(sc->xb_disk, DISK_VERSION_00);
 	bioq_init(&sc->xb_bioq);
 


More information about the p4-projects mailing list