ceph: don't update importing cap's mseq when handing cap export
commit 3c1392d4c49962a31874af14ae9ff289cb2b3851 upstream.
Updating mseq makes client think importer mds has accepted all prior
cap messages and importer mds knows what caps client wants. Actually
some cap messages may have been dropped because of mseq mismatch.
If mseq is left untouched, importing cap's mds_wanted later will get
reset by cap import message.
Signed-off-by: "Yan, Zheng" <firstname.lastname@example.org>
Signed-off-by: Ilya Dryomov <email@example.com>
Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
1 file changed