diff options
author | Benjamin Marzinski <bmarzins@redhat.com> | 2025-04-10 15:49:39 -0400 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-04-11 13:38:50 +0200 |
commit | e8819e7f03470c5b468720630d9e4e1d5b99159e (patch) | |
tree | 542668fab48826f5c5f0630f875d37003679b780 /net/lapb/lapb_timer.c | |
parent | 9eb7109a5bfc5b8226e9517e9f3cc6d414391884 (diff) |
dm: free table mempools if not used in __bind
With request-based dm, the mempools don't need reloading when switching
tables, but the unused table mempools are not freed until the active
table is finally freed. Free them immediately if they are not needed.
Fixes: 29dec90a0f1d9 ("dm: fix bio_set allocation")
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Tested-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions