Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108057709
D35057.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
987 B
Referenced Files
None
Subscribers
None
D35057.diff
View Options
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c
--- a/sys/cam/ata/ata_da.c
+++ b/sys/cam/ata/ata_da.c
@@ -1352,8 +1352,6 @@
adasetflags(softc, &cgd);
adasetgeom(softc, &cgd);
disk_resize(softc->disk, M_NOWAIT);
-
- cam_periph_async(periph, code, path, arg);
break;
}
case AC_ADVINFO_CHANGED:
@@ -1374,7 +1372,6 @@
case AC_BUS_RESET:
{
softc = (struct ada_softc *)periph->softc;
- cam_periph_async(periph, code, path, arg);
if (softc->state != ADA_STATE_NORMAL)
break;
if (ADA_RA >= 0 && softc->flags & ADA_FLAG_CAN_RAHEAD)
@@ -1385,16 +1382,17 @@
&& (softc->zone_mode != ADA_ZONE_NONE))
softc->state = ADA_STATE_LOGDIR;
else
- break;
+ break;
if (cam_periph_acquire(periph) != 0)
softc->state = ADA_STATE_NORMAL;
else
xpt_schedule(periph, CAM_PRIORITY_DEV);
+ break;
}
default:
- cam_periph_async(periph, code, path, arg);
break;
}
+ cam_periph_async(periph, code, path, arg);
}
static int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 12:14 AM (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16022211
Default Alt Text
D35057.diff (987 B)
Attached To
Mode
D35057: adaasync: Harmonize with daasync
Attached
Detach File
Event Timeline
Log In to Comment