ceph-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ceph: lockdep annotations for try_nonblocking_invalidate
@ 2021-09-02 19:07 Jeff Layton
  0 siblings, 0 replies; only message in thread
From: Jeff Layton @ 2021-09-02 19:07 UTC (permalink / raw)
  To: ceph-devel; +Cc: idryomov

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 fs/ceph/caps.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index cdd0ff376c6d..d22db2183d45 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -1847,6 +1847,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;
-- 
2.31.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-02 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 19:07 [PATCH] ceph: lockdep annotations for try_nonblocking_invalidate Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).