]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix null pointer dereference in Locker::handle_client_caps 14566/head
authorYan, Zheng <zyan@redhat.com>
Fri, 6 Jan 2017 07:42:52 +0000 (15:42 +0800)
committerNathan Cutler <ncutler@suse.com>
Fri, 14 Apr 2017 21:44:44 +0000 (23:44 +0200)
commit95335098d5fa1a8e308f697a6bcef6ce3e090ac9
treebdeb0cafaa2c5f4a00a0ffc5e815bbd306db8d33
parenteb84959bac369dbb86674f9e4225ba1c836c104c
mds: fix null pointer dereference in Locker::handle_client_caps

Locker::handle_client_caps delays processing cap message if the
corresponding inode is freezing or frozen. When the message gets
processed, client can have already closed the session.

Fixes: http://tracker.ceph.com/issues/18306
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit e281a0b9c1fdeaf09f1b01f34cecd62e4f49d02e)
src/mds/Locker.cc