Commit dc24de82 authored by Yan, Zheng's avatar Yan, Zheng Committed by Ilya Dryomov

ceph: properly set issue_seq for cap release

Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment