From: Yan, Zheng Date: Mon, 21 Apr 2014 07:46:37 +0000 (+0800) Subject: mds: check cap ID when handling cap export message X-Git-Tag: omap-for-v3.16/fixes-against-rc1~24^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca665e0282ece4f8121ab4de474351f291fa8c2d;p=pandora-kernel.git mds: check cap ID when handling cap export message handle following sequence of events: - mds0 exports an inode to mds1. client receives the cap import message from mds1. caps from mds0 are removed while handling the cap import message. - mds1 exports an inode to mds0. client receives the cap export message from mds1. handle_cap_export() adds placeholder caps for mds0 - client receives the first cap export message (for exporting inode from mds0 to mds1) Signed-off-by: Yan, Zheng --- Reading git-diff-tree failed