ceph: flush mdlog before umounting
authorXiubo Li <xiubli@redhat.com>
Mon, 5 Jul 2021 01:22:56 +0000 (09:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Dec 2022 16:40:03 +0000 (17:40 +0100)
commit78b2f546f789d33ac951921adb61873462a74025
tree0c3ca536369fecc566ce2cd083ad9d355275284e
parentd94ba7b3b7e78c6b5ceac35dff0e0a53a2b1a228
ceph: flush mdlog before umounting

[ Upstream commit d095559ce4100f0c02aea229705230deac329c97 ]

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Stable-dep-of: 5bd76b8de5b7 ("ceph: fix NULL pointer dereference for req->r_session")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ceph/mds_client.c
fs/ceph/mds_client.h
fs/ceph/strings.c
include/linux/ceph/ceph_fs.h