]> git.baikalelectronics.ru Git - kernel.git/commit
dm flakey: fix a bug with 32-bit highmem systems
authorMikulas Patocka <mpatocka@redhat.com>
Sun, 22 Jan 2023 19:03:31 +0000 (14:03 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:34:23 +0000 (09:34 +0100)
commit9116e3b8e9c3498952e3106490bd3bbb5568cfc7
treea1ac360f05bb1b79757c5807061749eaa0f4e8c6
parent3cc2810e2d340b7470a84479206446d27d83160f
dm flakey: fix a bug with 32-bit highmem systems

commit 5ada3438cdad4d1a35af25869c47ac4d1de96f5e upstream.

The function page_address does not work with 32-bit systems with high
memory. Use bvec_kmap_local/kunmap_local instead.

Cc: stable@vger.kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-flakey.c