~ubuntu-branches/ubuntu/trusty/ceph/trusty-updates

« back to all changes in this revision

Viewing changes to src/client/SyntheticClient.cc

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-04-09 11:14:03 UTC
  • mfrom: (1.1.33)
  • Revision ID: package-import@ubuntu.com-20140409111403-jlql95pa8kg1nk9a
Tags: 0.79-0ubuntu1
* New upstream release (LP: #1278466):
  - d/p/modules.patch: Refreshed.
  - d/ceph.install: Install all jerasure modules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1269
1269
      }
1270
1270
    } else if (strcmp(op, "ll_readlink") == 0) {
1271
1271
      int64_t i = t.get_int();
1272
 
      char buf[PATH_MAX];
1273
1272
      if (ll_inos.count(i)) {
 
1273
        char buf[PATH_MAX];
1274
1274
        i1 = client->ll_get_inode(vinodeno_t(ll_inos[i],CEPH_NOSNAP));
1275
1275
        client->ll_readlink(i1, buf, sizeof(buf));
1276
1276
        client->ll_put(i1);