]> git.baikalelectronics.ru Git - kernel.git/commit
dm space map common: add bounds check to sm_ll_lookup_bitmap()
authorJoe Thornber <ejt@redhat.com>
Fri, 10 Dec 2021 13:49:53 +0000 (13:49 +0000)
committerMike Snitzer <snitzer@redhat.com>
Tue, 4 Jan 2022 18:58:19 +0000 (13:58 -0500)
commitedc2d5f08db94f1d77b7b196668a8c765851ca43
treee485c359c570b4d51c7dc458f218f8dfdf4dfb53
parent664ee0f7ac9a03ddaa2c96cde4273d959d3ae675
dm space map common: add bounds check to sm_ll_lookup_bitmap()

Corrupted metadata could warrant returning error from sm_ll_lookup_bitmap().

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/persistent-data/dm-space-map-common.c