diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-08 01:28:38 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-10 22:05:48 +0100 |
commit | 2e0c926d56f93880f4b7a7813cec7c3a774a8280 (patch) | |
tree | 1274b45fa752ee3b1149d46e88cb3bb7845f1019 /lib/thin | |
parent | 8d7340b7a191376b94c45503f9c5cbee5f337e85 (diff) | |
download | lvm2-2e0c926d56f93880f4b7a7813cec7c3a774a8280.tar.gz |
cleanup: API get/set fixes
Diffstat (limited to 'lib/thin')
-rw-r--r-- | lib/thin/thin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thin/thin.c b/lib/thin/thin.c index f921befb8..f27f24007 100644 --- a/lib/thin/thin.c +++ b/lib/thin/thin.c @@ -115,7 +115,7 @@ static int _thin_pool_text_import(struct lv_segment *seg, if (!discards_str) seg->discards = THIN_DISCARDS_IGNORE; - else if (!get_pool_discards(discards_str, &seg->discards)) + else if (!set_pool_discards(&seg->discards, discards_str)) return SEG_LOG_ERROR("Discards option unsupported for"); if (dm_config_has_node(sn, "low_water_mark") && |