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

« back to all changes in this revision

Viewing changes to xlators/nfs/server/src/nfs-common.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:
255
255
 
256
256
ignore_parent:
257
257
        ret = inode_path (inode, NULL, &resolvedpath);
258
 
        if (ret < 0)
 
258
        if (ret <= 0)
259
259
                goto err;
260
260
 
261
261
        ret = nfs_loc_fill (loc, inode, parent, resolvedpath);
318
318
                return ret;
319
319
 
320
320
        ret = inode_path (parent, entry, &path);
321
 
        if (ret < 0)
 
321
        if (ret <= 0)
322
322
                goto err;
323
323
 
324
324
        ret = nfs_loc_fill (loc, entryinode, parent, path);
380
380
        }
381
381
 
382
382
        ret = inode_path (parent, entry, &resolvedpath);
383
 
        if (ret < 0) {
 
383
        if (ret <= 0) {
384
384
                ret = -3;
385
385
                goto err;
386
386
        }