commit | 370bb858d70f330af54a670a54d13ae305bcde83 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu May 23 11:01:37 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 04 09:33:45 2019 +0200 |
tree | 8ab6cd546d726dab90eca9bb5504485f41c1a821 | |
parent | 91c5daaa743b35f63f729b821d015dd87daae3a5 [diff] |
ceph: hold i_ceph_lock when removing caps for freeing inode commit d6e47819721ae2d9d090058ad5570a66f3c42e39 upstream. ceph_d_revalidate(, LOOKUP_RCU) may call __ceph_caps_issued_mask() on a freeing inode. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>