]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ceph: avoid invalid memory dereference in the middle of umount
authorYan, Zheng <zyan@redhat.com>
Thu, 22 Jun 2017 08:26:34 +0000 (16:26 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jul 2017 15:25:13 +0000 (17:25 +0200)
commit62a65f36d016fff32179acdbfcb8b2d8d9e54757
tree4e78b5d157227e97ecfcb75e1a49d0b60ad37941
parent1684dd03e9f59212775cafa50ea77b9ef5b263db
ceph: avoid invalid memory dereference in the middle of umount

extra_mon_dispatch() and debugfs' foo_show functions dereference
fsc->mdsc. we should clean up fsc->client->extra_mon_dispatch
and debugfs before destroying fsc->mds.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
fs/ceph/super.c