Skip to content

Commit

Permalink
ceph: lockdep annotations for try_nonblocking_invalidate
Browse files Browse the repository at this point in the history
[ Upstream commit 3eaf5aa ]

Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Ilya Dryomov <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
jtlayton authored and gregkh committed Sep 26, 2021
1 parent 6ca3781 commit 31db9b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/ceph/caps.c
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,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;
Expand Down

0 comments on commit 31db9b1

Please sign in to comment.