ceph: check migrate seq before changing auth cap
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 31 May 2013 08:37:11 +0000 (16:37 +0800)
committerSage Weil <sage@inktank.com>
Wed, 3 Jul 2013 22:32:48 +0000 (15:32 -0700)
commitb8c2f3ae2d9f2b975a0e1a9c5652829ef8a4f06c
tree8b96ef32548d08a4829f001ec0be4d80c0abdd6d
parentfc2744aa12da7182509b1059aa3ab53754d0c83a
ceph: check migrate seq before changing auth cap

We may receive old request reply from the exporter MDS after receiving
the importer MDS' cap import message.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/caps.c