]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm-raid: fix variable in journal device check
authorHeinz Mauelshagen <heinzm@redhat.com>
Tue, 10 Jun 2025 18:53:30 +0000 (20:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:57:39 +0000 (15:57 +0200)
commit2826ef05854dfbb0e097d268e579fe144cfb4138
treecb74e5719284c0368a560d9f5a80d6f46ddb91d5
parent78f4cf0e81b7f9b868568e8d7780428d494529cf
dm-raid: fix variable in journal device check

commit db53805156f1e0aa6d059c0d3f9ac660d4ef3eb4 upstream.

Replace "rdev" with correct loop variable name "r".

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Cc: stable@vger.kernel.org
Fixes: 63c32ed4afc2 ("dm raid: add raid4/5/6 journaling support")
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-raid.c