diff options
author | Xiubo Li <xiubli@redhat.com> | 2019-12-20 01:44:09 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-01-27 16:53:40 +0100 |
commit | 5b3248c6772459a0737afe0c85bb45ee3ba79eeb (patch) | |
tree | f638b01f7a2358c80f39de61ff6fdb55b339a829 /lib/ts_fsm.c | |
parent | ceph: remove the extra slashes in the server path (diff) | |
download | linux-5b3248c6772459a0737afe0c85bb45ee3ba79eeb.tar.xz linux-5b3248c6772459a0737afe0c85bb45ee3ba79eeb.zip |
ceph: rename get_session and switch to use ceph_get_mds_session
Just in case the session's refcount reach 0 and is releasing, and
if we get the session without checking it, we may encounter kernel
crash.
Rename get_session to ceph_get_mds_session and make it global.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions