]> 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)
commitbf370f22512781c7016d14c1b7e5c8467955e4ea
tree459a9db93b394a25317c8ab29338668a0973d57c
parentbd1d20521bce066718c15b81730c3526841018f3
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