~ubuntu-branches/ubuntu/precise/ceph/precise

« back to all changes in this revision

Viewing changes to src/osd/OSDCaps.cc

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum, Clint Byrum, Micah Gersten
  • Date: 2011-02-12 22:50:26 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110212225026-yyyw4tk0msgql3ul
Tags: 0.24.2-0ubuntu1
[ Clint Byrum <clint@ubuntu.com> ]
* New upstream release. (LP: #658670, LP: #684011)
* debian/patches/fix-mkcephfs.patch: dropped (applied upstream)
* Removed .la files from libceph1-dev, libcrush1-dev and 
  librados1-dev (per Debian policy v3.9.1 10.2).
* debian/control: adding pkg-config as a build dependency
* debian/control: depend on libcrypto++-dev instead of libssl-dev
* debian/watch: added watch file

[ Micah Gersten <micahg@ubuntu.com> ]
* debian/control: add Homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
  int start = s.find_first_not_of(" \t", pos);
41
41
  int end;
42
42
 
 
43
  if (start < 0) {
 
44
    return false; 
 
45
  }
 
46
 
43
47
  if (s[start] == '=' || s[start] == ',' || s[start] == ';') {
44
48
    end = start + 1;
45
49
  } else {
46
50
    end = s.find_first_of(";,= \t", start+1);
47
51
  }
48
52
 
49
 
  if (start < 0) {
50
 
    return false; 
51
 
  }
52
 
 
53
53
  if (end < 0) {
54
54
    end=s.size();
55
55
  }
94
94
  try {
95
95
    ::decode(s, iter);
96
96
 
97
 
    generic_dout(0) << "decoded caps: " << s << dendl;
 
97
    generic_dout(10) << "decoded caps: " << s << dendl;
98
98
 
99
99
    size_t pos = 0;
100
100
    string token;
192
192
        
193
193
      }
194
194
    }
195
 
  } catch (buffer::error *err) {
 
195
  } catch (const buffer::error &err) {
196
196
    return false;
197
197
  }
198
198
 
199
 
  generic_dout(0) << "default allow=" << (int)default_allow << " default_deny=" << (int) default_deny << dendl;
 
199
  generic_dout(10) << "default allow=" << (int)default_allow << " default_deny=" << (int) default_deny << dendl;
200
200
  pools_map.dump();
201
201
  return true;
202
202
}