md: keep recovery_cp in mdp_superblock_s
authorXiao Ni <xni@redhat.com>
Fri, 15 Aug 2025 04:00:28 +0000 (12:00 +0800)
committerYu Kuai <yukuai3@huawei.com>
Sat, 16 Aug 2025 00:47:38 +0000 (08:47 +0800)
commitc27973211ffcdf0a092eec265d5993e64b89adaf
treee7ce4f57b5db1d80e845f082eca9be5ef47e72a8
parent25db5f284fb8f30222146ca15b3ab8265789da38
md: keep recovery_cp in mdp_superblock_s

commit 907a99c314a5 ("md: rename recovery_cp to resync_offset") replaces
recovery_cp with resync_offset in mdp_superblock_s which is in md_p.h.
md_p.h is used in userspace too. So mdadm building fails because of this.
This patch revert this change.

Fixes: 907a99c314a5 ("md: rename recovery_cp to resync_offset")
Signed-off-by: Xiao Ni <xni@redhat.com>
Link: https://lore.kernel.org/linux-raid/20250815040028.18085-1-xni@redhat.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
drivers/md/md.c
include/uapi/linux/raid/md_p.h