]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix null pointer dereference in Locker::handle_client_caps 13060/head
authorYan, Zheng <zyan@redhat.com>
Fri, 6 Jan 2017 07:42:52 +0000 (15:42 +0800)
committerAlexey Sheplyakov <asheplyakov@mirantis.com>
Mon, 23 Jan 2017 08:05:47 +0000 (12:05 +0400)
commit50a3fa1ba1ab94ab736abf73830762afc0d05352
treef582abe160e44eaed54be9bbc8db639095921601
parent72b24f0f47bebaed793d7b75ce0eacc3c1533ab5
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