diff options
author | Greg Farnum <gregf@hq.newdream.net> | 2010-06-30 15:44:34 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-08-01 23:11:41 -0400 |
commit | 2bc50259fa0aa1868f8b2ba1d374406cb3c57f72 (patch) | |
tree | 0c8d510478866b4fdeafeb7953395226f0b8fb25 /fs/ceph/super.h | |
parent | 154f42c2c3c3b66a7a63dad5648e8a9860a32af9 (diff) |
ceph: add ceph_get_cap_for_mds function.
Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r-- | fs/ceph/super.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 44d10cb0aec..8ceb62380d3 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h | |||
@@ -816,6 +816,8 @@ extern int ceph_write_inode(struct inode *inode, struct writeback_control *wbc); | |||
816 | extern int ceph_fsync(struct file *file, int datasync); | 816 | extern int ceph_fsync(struct file *file, int datasync); |
817 | extern void ceph_kick_flushing_caps(struct ceph_mds_client *mdsc, | 817 | extern void ceph_kick_flushing_caps(struct ceph_mds_client *mdsc, |
818 | struct ceph_mds_session *session); | 818 | struct ceph_mds_session *session); |
819 | extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, | ||
820 | int mds); | ||
819 | extern int ceph_get_cap_mds(struct inode *inode); | 821 | extern int ceph_get_cap_mds(struct inode *inode); |
820 | extern void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps); | 822 | extern void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps); |
821 | extern void ceph_put_cap_refs(struct ceph_inode_info *ci, int had); | 823 | extern void ceph_put_cap_refs(struct ceph_inode_info *ci, int had); |