ceph: properly set issue_seq for cap release
Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
1e4ef0c633
commit
dc24de82d6
1 changed files with 1 additions and 0 deletions
|
@ -3656,6 +3656,7 @@ void ceph_handle_caps(struct ceph_mds_session *session,
|
||||||
cap->cap_id = le64_to_cpu(h->cap_id);
|
cap->cap_id = le64_to_cpu(h->cap_id);
|
||||||
cap->mseq = mseq;
|
cap->mseq = mseq;
|
||||||
cap->seq = seq;
|
cap->seq = seq;
|
||||||
|
cap->issue_seq = seq;
|
||||||
spin_lock(&session->s_cap_lock);
|
spin_lock(&session->s_cap_lock);
|
||||||
list_add_tail(&cap->session_caps,
|
list_add_tail(&cap->session_caps,
|
||||||
&session->s_cap_releases);
|
&session->s_cap_releases);
|
||||||
|
|
Loading…
Reference in a new issue