[PATCH] dm: verity-loadpin: Drop use of dm_table_get_num_targets()

Doug Anderson dianders at chromium.org
Thu Jul 28 16:34:56 UTC 2022


Hi,

On Thu, Jul 28, 2022 at 8:54 AM Matthias Kaehlcke <mka at chromium.org> wrote:
>
> Commit 2aec377a2925 ("dm table: remove dm_table_get_num_targets()
> wrapper") in linux-dm/for-next removed the function
> dm_table_get_num_targets() which is used by verity-loadpin. Access
> table->num_targets directly instead of using the defunct wrapper.
>
> Fixes: b6c1c5745ccc ("dm: Add verity helpers for LoadPin")
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> Signed-off-by: Matthias Kaehlcke <mka at chromium.org>
> ---
>
>  drivers/md/dm-verity-loadpin.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

FWIW:

Reviewed-by: Douglas Anderson <dianders at chromium.org>



More information about the Linux-security-module-archive mailing list