aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 3b5faf9980f8..384f0e2e7c68 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -795,15 +795,15 @@ extern int ceph_add_cap(struct inode *inode,
795 int fmode, unsigned issued, unsigned wanted, 795 int fmode, unsigned issued, unsigned wanted,
796 unsigned cap, unsigned seq, u64 realmino, int flags, 796 unsigned cap, unsigned seq, u64 realmino, int flags,
797 struct ceph_cap_reservation *caps_reservation); 797 struct ceph_cap_reservation *caps_reservation);
798extern void __ceph_remove_cap(struct ceph_cap *cap, 798extern void __ceph_remove_cap(struct ceph_cap *cap);
799 struct ceph_cap_reservation *ctx);
800static inline void ceph_remove_cap(struct ceph_cap *cap) 799static inline void ceph_remove_cap(struct ceph_cap *cap)
801{ 800{
802 struct inode *inode = &cap->ci->vfs_inode; 801 struct inode *inode = &cap->ci->vfs_inode;
803 spin_lock(&inode->i_lock); 802 spin_lock(&inode->i_lock);
804 __ceph_remove_cap(cap, NULL); 803 __ceph_remove_cap(cap);
805 spin_unlock(&inode->i_lock); 804 spin_unlock(&inode->i_lock);
806} 805}
806extern void ceph_put_cap(struct ceph_cap *cap);
807 807
808extern void ceph_queue_caps_release(struct inode *inode); 808extern void ceph_queue_caps_release(struct inode *inode);
809extern int ceph_write_inode(struct inode *inode, int unused); 809extern int ceph_write_inode(struct inode *inode, int unused);