mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: typo in comment
This commit is contained in:
parent
09a8479cb7
commit
362558cd66
@ -82,7 +82,7 @@ int dm_get_status_raid(struct dm_pool *mem, const char *params,
|
|||||||
return_0;
|
return_0;
|
||||||
|
|
||||||
if (!(s->raid_type = dm_pool_zalloc(mem, p - params)))
|
if (!(s->raid_type = dm_pool_zalloc(mem, p - params)))
|
||||||
goto_bad; /* memory is freed went pool is destroyed */
|
goto_bad; /* memory is freed when pool is destroyed */
|
||||||
|
|
||||||
if (!(s->dev_health = dm_pool_zalloc(mem, i + 1)))
|
if (!(s->dev_health = dm_pool_zalloc(mem, i + 1)))
|
||||||
goto_bad;
|
goto_bad;
|
||||||
|
Loading…
Reference in New Issue
Block a user