]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: remove exported caps when handling cap import message
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 24 Nov 2013 06:43:46 +0000 (14:43 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 21 Jan 2014 08:30:28 +0000 (16:30 +0800)
commitf68073a9efbae10dffc9eb7df5e6a04dde580ab5
tree459a9db93b394a25317c8ab29338668a0973d57c
parent0601b1dc6fe5cc5421bacd8c40113f4e7d49490f
ceph: 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>
fs/ceph/caps.c
include/linux/ceph/ceph_fs.h