OSDN Git Service

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)
commitcba23ac158db7f3cd48a923d6861bee2eb7a2978
treee485c359c570b4d51c7dc458f218f8dfdf4dfb53
parent85bca3c05b6cca31625437eedf2060e846c4bbad
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