~linaro-maintainers/ubuntu/maverick/qemu-linaro/ppa

« back to all changes in this revision

Viewing changes to hw/9pfs/cofile.c

  • Committer: Steve Langasek
  • Date: 2012-02-07 21:16:06 UTC
  • mfrom: (12827.2.30 trunk)
  • Revision ID: steve.langasek@canonical.com-20120207211606-mg6clflsfvz9f74x
Tags: 1.0.50-2012.01-0ubuntu2~ppa10.10.1
upload to the tools ppa

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    }
72
72
    v9fs_co_run_in_worker(
73
73
        {
74
 
            err = s->ops->fstat(&s->ctx, &fidp->fs, stbuf);
 
74
            err = s->ops->fstat(&s->ctx, fidp->fid_type, &fidp->fs, stbuf);
75
75
            if (err < 0) {
76
76
                err = -errno;
77
77
            }
192
192
    }
193
193
    v9fs_co_run_in_worker(
194
194
        {
195
 
            err = s->ops->fsync(&s->ctx, &fidp->fs, datasync);
 
195
            err = s->ops->fsync(&s->ctx, fidp->fid_type, &fidp->fs, datasync);
196
196
            if (err < 0) {
197
197
                err = -errno;
198
198
            }