commit | d95e674c01cfb5461e8b9fdeebf6d878c9b80b2f | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Jan 10 15:41:09 2019 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 21 14:52:41 2019 +0100 |
tree | 32bb67b2dd4df148f628eb4af8bcdf612622e66b | |
parent | 49a57857aeea06ca831043acbb0fa5e0f50602fd [diff] |
ceph: clear inode pointer when snap realm gets dropped by its inode snap realm and corresponding inode have pointers to each other. The two pointer should get clear at the same time. Otherwise, snap realm's pointer may reference freed inode. Cc: stable@vger.kernel.org # 4.17+ Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Luis Henriques <lhenriques@suse.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>