summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-stats.h
diff options
context:
space:
mode:
authorMarkus Hochholdinger <markus@hochholdinger.net>2021-11-16 10:21:35 +0000
committerSong Liu <song@kernel.org>2021-12-10 09:11:07 -0800
commit55df1ce0d4e086e05a8ab20619c73c729350f965 (patch)
treeca62fc911c139aa8752eb8f304c11d33e685f975 /drivers/md/dm-stats.h
parent091f06d91cbc8a51b63c26007e29baae49282b16 (diff)
downloadlinux-55df1ce0d4e086e05a8ab20619c73c729350f965.tar.bz2
md: fix update super 1.0 on rdev size change
The superblock of version 1.0 doesn't get moved to the new position on a device size change. This leads to a rdev without a superblock on a known position, the raid can't be re-assembled. The line was removed by mistake and is re-added by this patch. Fixes: d9c0fa509eaf ("md: fix max sectors calculation for super 1.0") Cc: stable@vger.kernel.org Signed-off-by: Markus Hochholdinger <markus@hochholdinger.net> Reviewed-by: Xiao Ni <xni@redhat.com> Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/dm-stats.h')
0 files changed, 0 insertions, 0 deletions