Skip to content

Commit 921ef7c

Browse files
jtlaytongregkh
authored andcommitted
ceph: lockdep annotations for try_nonblocking_invalidate
[ Upstream commit 3eaf5aa ] Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 487ead3 commit 921ef7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/ceph/caps.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,6 +1868,8 @@ static u64 __mark_caps_flushing(struct inode *inode,
18681868
* try to invalidate mapping pages without blocking.
18691869
*/
18701870
static int try_nonblocking_invalidate(struct inode *inode)
1871+
__releases(ci->i_ceph_lock)
1872+
__acquires(ci->i_ceph_lock)
18711873
{
18721874
struct ceph_inode_info *ci = ceph_inode(inode);
18731875
u32 invalidating_gen = ci->i_rdcache_gen;

0 commit comments

Comments
 (0)