]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: remove exported caps when handling cap import message
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 21 Feb 2014 02:13:00 +0000 (10:13 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Sat, 1 Mar 2014 05:04:07 +0000 (13:04 +0800)
commit1ddc951be0c836608ca01202cd0e1f7727762ad1
tree38b17c159e70ff2cab8af569118a309fbdd62af6
parenta7b7c311b4037331035f7946009313fe515195e4
client: remove exported caps when handling cap import message

Version 3 cap import message includes the ID of the exported
caps. It allow us to remove the exported caps if we still haven't
received the corresponding cap export message.

We remove the exported caps because they are stale, keeping them
can compromise consistence.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/client/Client.cc