summaryrefslogtreecommitdiffstats
path: root/src/mds/Capability.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-09-02 21:53:47 +0200
committerSage Weil <sage@newdream.net>2009-09-02 21:53:47 +0200
commita2c869c3ce98bbd504328b73db917853f3fb4e15 (patch)
treea5199608114aef20494187e3fc1129bc018e1725 /src/mds/Capability.h
parentmsgr: 64bit entity name num (diff)
downloadceph-a2c869c3ce98bbd504328b73db917853f3fb4e15.tar.xz
ceph-a2c869c3ce98bbd504328b73db917853f3fb4e15.zip
mds: use client_t throughout
Diffstat (limited to 'src/mds/Capability.h')
-rw-r--r--src/mds/Capability.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds/Capability.h b/src/mds/Capability.h
index 927ff8bcb46..6da84db899d 100644
--- a/src/mds/Capability.h
+++ b/src/mds/Capability.h
@@ -98,7 +98,7 @@ public:
private:
CInode *inode;
- int client;
+ client_t client;
__u64 cap_id;
@@ -221,7 +221,7 @@ public:
xlist<Capability*>::item snaprealm_caps_item;
- Capability(CInode *i, __u64 id, int c) :
+ Capability(CInode *i, __u64 id, client_t c) :
inode(i), client(c),
cap_id(id),
_wanted(0),
@@ -260,7 +260,7 @@ public:
void set_stale(bool b) { stale = b; }
CInode *get_inode() { return inode; }
- int get_client() { return client; }
+ client_t get_client() { return client; }
// caps this client wants to hold
int wanted() { return _wanted; }