diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index f92eeb741160..26c5029629a4 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -1846,6 +1846,8 @@ static u64 __mark_caps_flushing(struct inode *inode, * try to invalidate mapping pages without blocking. */ static int try_nonblocking_invalidate(struct inode *inode) + __releases(ci->i_ceph_lock) + __acquires(ci->i_ceph_lock) { struct ceph_inode_info *ci = ceph_inode(inode); u32 invalidating_gen = ci->i_rdcache_gen;