Skip to content

Commit a07c5ef

Browse files
committed
client: resolve bogus self-assignment
Credit to Ilya Dryomov for spotting this. [1] ceph#60283 (comment) Fixes: 1da6ef2 Fixes: https://tracker.ceph.com/issues/68973 Signed-off-by: Patrick Donnelly <[email protected]>
1 parent 3a35aeb commit a07c5ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/Client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5524,7 +5524,7 @@ void Client::handle_cap_export(MetaSession *session, Inode *in, const MConstRef<
55245524
ceph_seq_cmp(tcap.seq, m->peer.issue_seq) < 0) {
55255525
tcap.cap_id = m->peer.cap_id;
55265526
tcap.seq = m->peer.issue_seq - 1;
5527-
tcap.issue_seq = tcap.issue_seq;
5527+
tcap.issue_seq = m->peer.issue_seq - 1;
55285528
tcap.issued |= cap.issued;
55295529
tcap.implemented |= cap.issued;
55305530
if (&cap == in->auth_cap)

0 commit comments

Comments
 (0)