Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147745497
D30905.id91366.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
625 B
Referenced Files
None
Subscribers
None
D30905.id91366.diff
View Options
Index: sys/geom/geom_dev.c
===================================================================
--- sys/geom/geom_dev.c
+++ sys/geom/geom_dev.c
@@ -712,8 +712,10 @@
* time can be is likewise. We make this ioctl
* interruptible by checking for signals for each bio.
*/
- if (SIGPENDING(td))
+ if (length > 0 && SIGPENDING(td)) {
+ error = EINTR;
break;
+ }
}
break;
case DIOCGIDENT:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 14, 8:57 AM (11 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29651598
Default Alt Text
D30905.id91366.diff (625 B)
Attached To
Mode
D30905: Don't return bogus success from DIOCGDELETE ioctl when bailing out due to a signal
Attached
Detach File
Event Timeline
Log In to Comment