summaryrefslogtreecommitdiff
path: root/fs/ceph
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2024-06-26 09:49:10 -0400
committerIlya Dryomov <idryomov@gmail.com>2024-11-19 11:08:17 +0100
commit50f42c489528566ea2d8a9561ee54748b0441d51 (patch)
tree68bf097b131901981fa378a3e0f9dff895a7f449 /fs/ceph
parent3500000bb13d300e8d7fdf4a1212abdd0de2b5c1 (diff)
downloadlwn-50f42c489528566ea2d8a9561ee54748b0441d51.tar.gz
lwn-50f42c489528566ea2d8a9561ee54748b0441d51.zip
ceph: correct ceph_mds_cap_item field name
The issue_seq is sent with bulk cap releases, not the current sequence number. See also ceph.git commit 655cddb7c9f3 ("include/ceph_fs: correct ceph_mds_cap_item field name"). Link: https://tracker.ceph.com/issues/66704 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/mds_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index aaa864c2e26d..df0587e61e79 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -2354,7 +2354,7 @@ again:
item->ino = cpu_to_le64(cap->cap_ino);
item->cap_id = cpu_to_le64(cap->cap_id);
item->migrate_seq = cpu_to_le32(cap->mseq);
- item->seq = cpu_to_le32(cap->issue_seq);
+ item->issue_seq = cpu_to_le32(cap->issue_seq);
msg->front.iov_len += sizeof(*item);
ceph_put_cap(mdsc, cap);