ceph: don't WARN if we're force umounting
authorXiubo Li <xiubli@redhat.com>
Wed, 25 Aug 2021 13:45:44 +0000 (21:45 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 2 Sep 2021 20:49:17 +0000 (22:49 +0200)
commit42ad631b4d0e0d6da0bfe375af99887251fbf970
treeaa56d3dbce1a75fb9c2a6d7b88f330638d053bf5
parenta6d37ccdd240e80f26aaea0e62cda310e0e184d7
ceph: don't WARN if we're force umounting

Force umount will try to close the sessions by setting the session
state to _CLOSING. We don't want to WARN in this situation, since it's
expected.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c