Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162135278
D9677.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
453 B
Referenced Files
None
Subscribers
None
D9677.diff
View Options
Index: head/sys/kern/vfs_default.c
===================================================================
--- head/sys/kern/vfs_default.c
+++ head/sys/kern/vfs_default.c
@@ -718,8 +718,8 @@
* to write them out.
*/
TAILQ_FOREACH(bp, &bo->bo_dirty.bv_hd, b_bobufs)
- if ((error = bp->b_error) == 0)
- continue;
+ if ((error = bp->b_error) != 0)
+ break;
if (error == 0 && --maxretry >= 0)
goto loop1;
error = EAGAIN;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 11, 3:51 AM (1 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34948683
Default Alt Text
D9677.diff (453 B)
Attached To
Mode
D9677: Make the code match the comments. If we have ANY buf's that failed then return EAGAIN. The current code just returns that if the LAST buf failed.
Attached
Detach File
Event Timeline
Log In to Comment