Skip to content

Commit 3eaf5aa

Browse files
jtlaytonidryomov
authored andcommitted
ceph: lockdep annotations for try_nonblocking_invalidate
Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
1 parent a76d0a9 commit 3eaf5aa

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
@@ -1846,6 +1846,8 @@ static u64 __mark_caps_flushing(struct inode *inode,
18461846
* try to invalidate mapping pages without blocking.
18471847
*/
18481848
static int try_nonblocking_invalidate(struct inode *inode)
1849+
__releases(ci->i_ceph_lock)
1850+
__acquires(ci->i_ceph_lock)
18491851
{
18501852
struct ceph_inode_info *ci = ceph_inode(inode);
18511853
u32 invalidating_gen = ci->i_rdcache_gen;

0 commit comments

Comments
 (0)