diff options
author | Mikulas Patocka <[email protected]> | 2009-03-16 17:44:26 +0000 |
---|---|---|
committer | Alasdair G Kergon <[email protected]> | 2009-03-16 17:44:26 +0000 |
commit | f80a557008462a0a4adef25407f1872e793d8dd5 (patch) | |
tree | 41c0d0b924dc392adb413ef4ebe35bb42ef24727 /net/lapb/lapb_iface.c | |
parent | bc0fd67feba2e0770aad85393500ba77c6489f1c (diff) |
dm table: rework reference counting fix
Fix an error introduced in dm-table-rework-reference-counting.patch.
When there is failure after table initialization, we need to use
dm_table_destroy, not dm_table_put, to free the table.
dm_table_put may be used only after dm_table_get.
Cc: Kiyoshi Ueda <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Reviewed-by: Jonathan Brassow <[email protected]>
Reviewed-by: Alasdair G Kergon <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions