diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-01-10 15:41:09 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-01-21 14:52:41 +0100 |
commit | d95e674c01cfb5461e8b9fdeebf6d878c9b80b2f (patch) | |
tree | 32bb67b2dd4df148f628eb4af8bcdf612622e66b /net/ceph/messenger.c | |
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>
Diffstat (limited to 'net/ceph/messenger.c')
0 files changed, 0 insertions, 0 deletions