Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145946137
D45721.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
699 B
Referenced Files
None
Subscribers
None
D45721.id.diff
View Options
diff --git a/sys/dev/virtio/p9fs/virtio_p9fs.c b/sys/dev/virtio/p9fs/virtio_p9fs.c
--- a/sys/dev/virtio/p9fs/virtio_p9fs.c
+++ b/sys/dev/virtio/p9fs/virtio_p9fs.c
@@ -331,12 +331,7 @@
/* Initialize the condition variable */
cv_init(&chan->submit_cv, "Conditional variable for submit queue" );
chan->max_nsegs = MAX_SUPPORTED_SGS;
- chan->vt9p_sglist = sglist_alloc(chan->max_nsegs, M_NOWAIT);
- if (chan->vt9p_sglist == NULL) {
- error = ENOMEM;
- P9_DEBUG(ERROR, "%s: Cannot allocate sglist\n", __func__);
- goto out;
- }
+ chan->vt9p_sglist = sglist_alloc(chan->max_nsegs, M_WAITOK);
/* Negotiate the features from the host */
virtio_set_feature_desc(dev, virtio_9p_feature_desc);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 27, 10:21 AM (5 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29026136
Default Alt Text
D45721.id.diff (699 B)
Attached To
Mode
D45721: p9fs: use M_WAITOK where appropriate
Attached
Detach File
Event Timeline
Log In to Comment