Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167015354
D57500.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
355 B
Referenced Files
None
Subscribers
None
D57500.diff
View Options
Index: sys/dev/virtio/p9fs/virtio_p9fs.c
===================================================================
--- sys/dev/virtio/p9fs/virtio_p9fs.c
+++ sys/dev/virtio/p9fs/virtio_p9fs.c
@@ -278,6 +278,10 @@
struct vt9p_softc *sc;
sc = device_get_softc(dev);
+
+ if (sc->busy)
+ return (EBUSY);
+
VT9P_LOCK(sc);
vt9p_stop(sc);
VT9P_UNLOCK(sc);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 2:40 PM (1 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36939530
Default Alt Text
D57500.diff (355 B)
Attached To
Mode
D57500: p9fs: Disallow P9 device to detach if a session is in progress
Attached
Detach File
Event Timeline
Log In to Comment