ceph: set caps count after composing cap reconnect message
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 22 Sep 2013 02:28:10 +0000 (10:28 +0800)
committerSage Weil <sage@inktank.com>
Sat, 23 Nov 2013 19:01:01 +0000 (11:01 -0800)
commit44c99757fae80e9db058e1f1d7419cf6472e9af1
tree9bf7bbb62d915a26b9cee8b52b7d5f6649adca13
parenta096b09aeec6ff99edfdfd8cee24d6f25377d585
ceph: set caps count after composing cap reconnect message

It's possible that some caps get released while composing the cap
reconnect message.

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