| Submitter | Aneesh Kumar K.V |
|---|---|
| Date | March 25, 2010, 4:43 p.m. |
| Message ID | <1269535420-31206-32-git-send-email-aneesh.kumar@linux.vnet.ibm.com> |
| Download | mbox | patch |
| Permalink | /patch/48583/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c index 5ccaeac..1b791ca 100644 --- a/hw/virtio-9p.c +++ b/hw/virtio-9p.c @@ -1644,7 +1644,7 @@ static void v9fs_create_post_lstat(V9fsState *s, V9fsCreateState *vs, int err) { if ( err == 0 || errno != ENOENT) { - err = -EEXIST; + err = -errno; goto out; }