]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm: lock limits when reading them
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 22 Apr 2025 19:17:36 +0000 (21:17 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Sun, 4 May 2025 09:35:05 +0000 (11:35 +0200)
commitabb4cf2f4c1c1b637cad04d726f2e13fd3051e03
treee23428bcdd629ceb6fa10dceadaede3284d63690
parentf1e24048edb4c51678948cc6a08d20b57cde1471
dm: lock limits when reading them

Lock queue limits when reading them, so that we don't read halfway
modified values.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
drivers/md/dm-table.c