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

« back to all changes in this revision

Viewing changes to xlators/features/marker/src/marker-quota-helper.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:
94
94
 
95
95
ignore_parent:
96
96
        ret = inode_path (inode, NULL, &resolvedpath);
97
 
        if (ret < 0)
 
97
        if (ret <= 0)
98
98
                goto err;
99
99
 
100
100
        ret = mq_loc_fill (loc, inode, parent, resolvedpath);
136
136
        inode_contribution_t    *contri = NULL;
137
137
        inode_contribution_t    *temp   = NULL;
138
138
 
139
 
        GF_VALIDATE_OR_GOTO ("marker", inode, out);
140
 
        GF_VALIDATE_OR_GOTO ("marker", ctx, out);
 
139
        if (!inode || !ctx)
 
140
                goto out;
141
141
 
142
142
        list_for_each_entry (temp, &ctx->contribution_head, contri_list) {
143
143
                if (uuid_compare (temp->gfid, inode->gfid) == 0) {