~ubuntu-branches/ubuntu/wily/glusterfs/wily

« back to all changes in this revision

Viewing changes to xlators/cluster/afr/src/afr-inode-read.c

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Louis Zuckerman, Patrick Matthäi
  • Date: 2012-01-07 14:19:57 UTC
  • mfrom: (1.3.14)
  • Revision ID: package-import@ubuntu.com-20120107141957-532c9ubquvlmzls5
Tags: 3.2.5-1
[ Louis Zuckerman ]
* Add patch (03) to fix build errors

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
 
224
224
out:
225
225
        if (unwind) {
226
 
                if (buf)
227
 
                        buf->ia_ino = local->cont.stat.ino;
228
 
 
229
226
                AFR_STACK_UNWIND (stat, frame, op_ret, op_errno, buf);
230
227
        }
231
228
 
345
342
 
346
343
out:
347
344
        if (unwind) {
348
 
                if (buf)
349
 
                        buf->ia_ino = local->cont.fstat.ino;
350
 
 
351
345
                AFR_STACK_UNWIND (fstat, frame, op_ret, op_errno, buf);
352
346
        }
353
347
 
470
464
 
471
465
out:
472
466
        if (unwind) {
473
 
                if (sbuf)
474
 
                        sbuf->ia_ino = local->cont.readlink.ino;
475
 
 
476
467
                AFR_STACK_UNWIND (readlink, frame, op_ret, op_errno, buf, sbuf);
477
468
        }
478
469
 
1000
991
 
1001
992
out:
1002
993
        if (unwind) {
1003
 
                if (buf && local)
1004
 
                        buf->ia_ino = local->cont.readv.ino;
1005
 
 
1006
994
                AFR_STACK_UNWIND (readv, frame, op_ret, op_errno,
1007
995
                                  vector, count, buf, iobref);
1008
996
        }