]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix incorrect old_size length in ceph_mds_request_args
authorXiubo Li <xiubli@redhat.com>
Thu, 9 Jun 2022 07:21:37 +0000 (15:21 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 2 Aug 2022 22:54:12 +0000 (00:54 +0200)
commite40baeb67c55481ad971a2f5a9d94763dc25fe40
treead2745080ab71cd93cfd70b795460b6b67a5ab3d
parent2775212f05e841414f49db34317bdb0c95b0e9d6
ceph: fix incorrect old_size length in ceph_mds_request_args

The 'old_size' is a __le64 type since birth, not sure why the
kclient incorrectly switched it to __le32. This change is okay
won't break anything because union will always allocate more memory
than the 'open' member needed.

Rename 'file_replication' to 'pool' as ceph did. Though this 'open'
struct may never be used in kclient in future, it's confusing when
going through the ceph code.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/ceph_fs.h