Revision ab03b63d

b/hw/virtio-9p.c
1760 1760
        err = vs->offset;
1761 1761
    } else {
1762 1762
        vs->fidp->fid_type = P9_FID_NONE;
1763
        close(vs->fidp->fs.fd);
1764 1763
        err = -errno;
1764
        if (vs->fidp->fs.fd > 0) {
1765
            close(vs->fidp->fs.fd);
1766
        }
1765 1767
    }
1766 1768

  
1767 1769
    complete_pdu(s, vs->pdu, err);

Also available in: Unified diff