Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ceph: properly set issue_seq for cap release



Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent 1e4ef0c6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);