lkml.org 
[lkml]   [2021]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 17/26] ceph: lockdep annotations for try_nonblocking_invalidate
    Date
    From: Jeff Layton <jlayton@kernel.org>

    [ Upstream commit 3eaf5aa1cfa8c97c72f5824e2e9263d6cc977b03 ]

    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>
    ---
    fs/ceph/caps.c | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
    index 0eb2ada032c7..839bccbcc9d6 100644
    --- a/fs/ceph/caps.c
    +++ b/fs/ceph/caps.c
    @@ -1572,6 +1572,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;
    --
    2.33.0


    \
     
     \ /
      Last update: 2021-09-24 14:48    [W:3.128 / U:0.256 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site