summaryrefslogtreecommitdiff
path: root/fs/ceph
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2021-12-30 23:30:52 +0200
committerMichael Bestas <mkbestas@lineageos.org>2021-12-30 23:30:52 +0200
commit82e44f01405d6fcccef53c5d2c95cf2fbbda9075 (patch)
tree963110b6d986e7ff78c355de486e2a07a8734028 /fs/ceph
parentefc007b64eb945c2c171ebb126b72d5bd3ff4977 (diff)
parentd245abcf4f81cc68cabdc3c2beaa5571172b64bf (diff)
Merge remote-tracking branch 'msm8998/lineage-18.1' into lineage-18.1
Change-Id: I2f787263c9640ba954b694e0289bd19dab308112
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/caps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index 9d74cd37b395..154c47282a34 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -1545,6 +1545,8 @@ static int __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;