提交 dc24de82 编写于 作者: Y Yan, Zheng 提交者: Ilya Dryomov

ceph: properly set issue_seq for cap release

Signed-off-by: NYan, Zheng <zyan@redhat.com>
上级 1e4ef0c6
......@@ -3656,6 +3656,7 @@ void ceph_handle_caps(struct ceph_mds_session *session,
cap->cap_id = le64_to_cpu(h->cap_id);
cap->mseq = mseq;
cap->seq = seq;
cap->issue_seq = seq;
spin_lock(&session->s_cap_lock);
list_add_tail(&cap->session_caps,
&session->s_cap_releases);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册